A React application that fetches and displays real-time weather data using the OpenWeatherMap API.
- Search for weather details by city name.
- Displays temperature, wind speed, humidity, and weather condition with an icon.
- Real-time API integration.
-
Clone the repository:
git clone https://github.com/your-username/weather-api-app.git
-
Navigate to the project directory:
cd weather-api-app -
Install the required dependencies:
npm install
-
Create a
.envfile in the root directory and add your API key like this:REACT_APP_WEATHER_API_KEY=your-api-key-here -
Run the app in development mode:
npm start
Open http://localhost:3000 to view it in your browser.
- React
- OpenWeatherMap API
This project is licensed under the MIT License