Skip to content

davlet61/weather

Repository files navigation

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

About

Application displaying weather time series based on search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published