React Weather is a beautiful weather app built on top of the OpenWeatherMap API.
-
Sign up over at openweathermap.org and get an API key.
-
Fork the project and clone it locally.
-
Install dependencies using pnpm:
pnpm install
-
Create a file at the root of the project called
.env.local
with the following contents:VITE_API_URL = 'https://api.openweathermap.org/data/2.5' VITE_API_KEY = The API key you obtained from openweathermap.org VITE_ICON_URL = 'https://openweathermap.org/img/w'