Skip to content

This weather web application allows users to search for any city and instantly retrieve the current weather conditions along with a 5-day forecast. It is built using React and integrates with the OpenWeatherMap API to deliver accurate and up-to-date weather data.

License

Notifications You must be signed in to change notification settings

ErdagEge/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Web App 🌤️

A modern, responsive weather web application built with React, providing current weather conditions and a 5-day forecast for any city worldwide. The app supports geolocation, unit switching (°C/°F), and uses glassmorphism-inspired design for a modern UI.

Live Demo


✨ Features

  • Search weather by city name
  • Detects current location via geolocation
  • Displays current temperature, humidity, wind speed, and weather conditions
  • 5-day forecast with daily high/low temperatures and condition icons
  • Local storage for displaying last searched cities
  • Unit toggle between Celsius and Fahrenheit
  • Responsive glassmorphism user interface
  • Smooth animations powered by React Spring
  • FontAwesome weather icons
  • Loading spinners and error handling for a better UX

🛠️ Technologies Used

  • React
  • OpenWeatherMap API
  • FontAwesome
  • React Spring
  • CSS (glassmorphism style)
  • Vercel (deployment)

📦 Getting Started

  1. Clone the repository:
git clone https://github.com/ErdagEge/weather-app.git
cd weather-app
  1. Install dependencies:
npm install
  1. Configure environment variables:

Create a .env file in the root of the project with the following:

REACT_APP_WEATHER_API_KEY=your_api_key_here
  1. Run the development server:
npm start

🚀 Deployment

This app is deployed on Vercel. If you wish to redeploy, push to your GitHub main branch, and Vercel will build automatically. Remember to configure your environment variables (REACT_APP_WEATHER_API_KEY) in Vercel settings.


📄 License

MIT

About

This weather web application allows users to search for any city and instantly retrieve the current weather conditions along with a 5-day forecast. It is built using React and integrates with the OpenWeatherMap API to deliver accurate and up-to-date weather data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published