A simple React weather app that displays weather information from the OpenWeatherMap API. See it live here.
- Sign up over at openweathermap.org to get an API key.
- Fork the project and clone it locally.
- Create a file at the root of the project called
.env.local
with the following contents:
REACT_APP_API_URL = 'https://api.openweathermap.org/data/2.5'
REACT_APP_API_KEY = The API key you obtained from openweathermap.org
REACT_APP_ICON_URL = 'https://openweathermap.org/img/w'