Skip to content

X1nQing/weather

Repository files navigation

🌤️ Weather

A simple and interactive weather application built with React. Get real-time weather updates for any city and enjoy dynamic backgrounds that change based on weather conditions.


🛠️ Tech Stack

  • React
  • OpenWeatherMap API
  • CSS Flexbox
  • JavaScript (ES6+)

🚀 Features

  • 🔍 City Search: Search for any city and get the current weather.
  • 📈 Forecast Display: View multi-day weather forecast.
  • 🌄 Dynamic Backgrounds: Background images change based on the current weather (e.g., clear, rain, clouds).
  • 🔄 Card Flip UI: Click the card to toggle between current weather and forecast.
  • 📍 Location Display: See the current location and local time.

Weather Background Image
Clear /image/clear.jpg
Clouds /image/clouds.jpg
Rain /image/rain.jpg
Snow /image/snow.jpg
Mist/Fog /image/mist.jpg
Default /image/default.jpg

📦 Installation

git clone https://github.com/X1nQing/weather.git
cd weather
npm install
npm run dev

🔑 API Key

OpenWeather

OpenUV

  • Dont Forget to Put Your API Key Inside .env file

📸 Screenshots

fd7726d7-f4cc-433a-a29f-117666069a0e 8ae4e2c4-afaa-4916-ace9-2936337e096f a05cbace-ee64-4efd-aab8-c525bcc0eb19

🧑‍💻 Author

Created by X1nQing@Steve

About

Weather is a simple React-based weather app that fetches real-time weather data using the OpenWeatherMap API. It shows current conditions and forecasts, with background images that change based on the weather.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors