The weather application built using React and the OpenWeather API to display current weather information for the current location.
This weather application allows users to search for the current weather in the current location. The application fetches data from the OpenWeather API and displays it in a user-friendly interface.
- Display current temperature, humidity, and weather conditions
- Air Pollution analysis for the current location
- Responsive design for mobile and desktop
You can see the live demo of the application https://dev-weather-v1.netlify.app/.
To run this project locally, follow these steps:
-
Clone the repository
git clone https://github.com/mariraja-selvakumar/Weather.git
-
Navigate to the project directory
cd weather
-
Install dependencies
npm install
-
Create a
.env
file in the root directory and add your OpenWeather API App IDREACT_APP_SERVICE_CONTEXT=REACT_APP_SERVICE_CONTEXT REACT_APP_APP_ID=REACT_APP_APP_ID
-
Start the development server
npm start
- Open the application in your web browser.
- We can get current city, date & time.
- We can get current humidity, wind, sunrise & sunset time.
- We can get analytics for air pollution.
- We can get these data by selecting cities or location
- We can get weather data for trip planning & agriculture