Skip to content

This React code fetches weather data from OpenWeatherMap API based on user-input city. It displays current weather and a 5-day forecast. The data updates dynamically using React hooks.

Notifications You must be signed in to change notification settings

ThalaPravin/Weather-Forecasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Application

This is a simple weather application built with React. It allows users to fetch weather data based on the city they input. The application displays the current weather along with a 5-day forecast.

Features

  • Dynamic Data: Weather data updates dynamically using React hooks.
  • API Integration: Integrates with the OpenWeatherMap API to fetch weather data.
  • User-Friendly Interface: Simple interface with a city input field for ease of use.
  • Responsive Design: Built with responsiveness in mind to ensure compatibility across devices.

How to Use

  1. Clone this repository to your local machine.
  2. Install dependencies by running npm install.
  3. Run the application using npm start.
  4. Input a city in the provided field and hit enter.
  5. View the current weather and the 5-day forecast.

Technologies Used

  • React
  • HTML/CSS
  • OpenWeatherMap API

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This React code fetches weather data from OpenWeatherMap API based on user-input city. It displays current weather and a 5-day forecast. The data updates dynamically using React hooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published