Skip to content

Latest commit

 

History

History
95 lines (58 loc) · 2.09 KB

README.md

File metadata and controls

95 lines (58 loc) · 2.09 KB

Todo App

License: ISC

A simple web application to present Weather time series of a desired city.

Tech Stack

TypeScript React https://www.chartjs.org/

Demo

The application is live at the following address:

https://weather-time-series.vercel.app/

Run Locally

Development

Clone the project

  git clone https://github.com/davlet61/weather.git

Go to the project directory

  cd weather

Install dependencies

NOTE: The default package manager for this project is pnpm

If you wish to use a different package manager make sure to remove the preinstall script from the package.json.

  pnpm install

Start dev server

  pnpm dev

Environment Variables

To be able to use a realtime data in this project, you will need to add a few env variables.

  cp .env.example .env

then add your keys to empty values.

Preview Build Locally

Install dependencies

NOTE: Skip this step if you have already installed the dependencies

If you wish to use a different package manager make sure to remove the preinstall script from the package.json.

  pnpm install

Build application

  pnpm build

Start application

  pnpm preview

Testing

This project has simple e2e test set up with Playwright

To run e2e tests

  pnpm test