A simple weather app built with React that fetches weather data from the OpenWeatherMap API.
- Search for the current weather in a specific city.
- Displays temperature, humidity, and wind speed.
- Shows weather icons based on the current weather conditions.
-
Clone the repository:
git clone https://github.com/sahanRanasingha/Weather-WebApp.git cd Weather-WebApp
-
Install dependencies:
npm install
-
Set up your OpenWeatherMap API key:
Replace 'YOUR_API_KEY' in
WeatherApp.js
with your actual OpenWeatherMap API key. -
Run the application:
npm start
The app will be available at http://localhost:3000.
- Enter a city name in the search input.
- Click the search icon to fetch and display the current weather for that city.
- React
- react-toastify