The Weather App is a web application that provides current weather information and a 5-day forecast for a given city. Users can enter the city name and choose between Celsius and Fahrenheit units to view weather details.
-
Current Weather: Get real-time information about the current weather, including temperature, humidity, wind speed, and description.
-
5-Day Forecast: View a 5-day forecast with details like date, average temperature, and weather description.
-
React: A JavaScript library for building user interfaces.
-
Axios: A promise-based HTTP client for making API requests.
-
OpenWeatherMap API: Used for fetching weather data. Check the documentation here.
-
React Icons: A library for including popular icons in React projects. Check the documentation here.
-
Clone the repository:
git clone https://github.com/amanyddv/weather_app.git
-
Install dependencies:
cd weather_app npm install
-
Run the application:
npm start
- Enter the city name in the input field.
- Choose between Celsius and Fahrenheit for temperature units.