This Weather Dashboard application provides users with current weather information and a 5-day forecast for a specified location. It utilizes the >OpenWeatherMap API to fetch weather data and presents it in an intuitive dashboard interface.
- Current Weather Display: Shows the current weather conditions including temperature, description, and additional details.
- Search Functionality: Allows users to search for weather information by city name.
- 5-Day Forecast: Presents a forecast for the next five days, including temperature, humidity, and wind speed.
- Graphical Representation: Displays a graphical representation of the forecast data using Recharts library, showcasing minimum temperature, maximum temperature, and current temperature trends.
- React: The frontend of the application is built using React library, providing a modular and efficient component-based architecture.
- Context API: Utilizes React Context API for state management, allowing seamless sharing of data across components.
- Hooks: Employs React Hooks for managing state and performing side effects in functional components.
- OpenWeatherMap API: Fetches weather data including current conditions and forecast from the OpenWeatherMap API.
- React-Slick: Implements a responsive slider for displaying the 5-day forecast in an interactive manner.
- Recharts: Utilizes Recharts library for creating interactive and customizable graphs to visualize forecast data.
Clone the repository. Install dependencies using npm install. Add your OpenWeatherMap API key to the .env file. Run the application using npm start. Enter a city name in the search bar to view current weather and forecast information.
Live Link Weather App