- Common setup.
Clone the repo and install the dependencies.
- git clone https://github.com/Xenko10/weather-app.git
- cd weather-app
- yarn
- Get API key.
- create account on https://openweathermap.org/appid
- create .env in weather-app folder
- type: VITE_API_KEY="your API key from openweathermap" in .env file
- Run the following.
- yarn dev
- open http://localhost:5173