Owner: [ikc20]
A simple React app that displays the current weather conditions and forecast for a given city using a weather API.
- Real-time weather data
- City search functionality
- Temperature in Celsius
- Weather icon representation
- React
- CSS
- Clone the repository:
git clone https://github.com/ikc20/react-weather-app.git
- Navigate to the project directory:
cd react-weather-app
- Install dependencies:
npm install
- Run the app:
npm start
- Open your browser and go to http://localhost:3000
- Thanks to OpenWeatherMap website for providing the weather data.
- Icon made from www.flaticon.com
To use this app, you'll need to obtain an API key from the OpenWeatherMap website. Once you have the key, create a .env
file in the project root and add the following:
REACT_APP_WEATHER_API_KEY=496271fc50e7eaab31acdddc98d92145