This is a React app that uses the OpenWeather API.
- Apply for a free OpenWeather API key.
- Create a config.js file, to place key data.
- Place config.js in .gitignore
- Import the API_KEY from config.js
- Within the Forecast component, place the API_KEY in the fetch request.
Note: Adding Custom Environment Variables
- Real-time weather lookup by city
- 5-day weather forecast displaying weather icon, high/low temperature, humidity, wind speed, etc.
- Responsive design using Ant Design Library
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.