Link to the Site=https://vercel.com/shubh3819s-projects/weather-app
Weather App
The Weather App is a modern, responsive React application that delivers real-time weather information for any city using the OpenWeatherMap API. Designed with a clean and intuitive interface, the application includes features such as dynamic search suggestions, animated weather icons, and detailed weather metrics. Users can quickly switch between Celsius and Fahrenheit, view current atmospheric conditions, and access additional information such as humidity, wind speed, visibility, and sunrise/sunset times. The UI adapts to different weather conditions through subtle animations and a glassmorphism-inspired design.
Features
-
Live city search with auto-suggestions: Provides instant suggestions as users type, improving search accuracy and speed.
-
Real-time weather data: Displays updated temperature, weather conditions, and essential metrics.
-
Temperature unit toggle: Allows users to switch seamlessly between Celsius and Fahrenheit.
-
Weather-based visuals: Includes animated icons and adaptive backgrounds that reflect current conditions.
-
Detailed metrics: Shows humidity, wind speed, visibility, pressure, and other key indicators.
-
Sunrise and sunset information: Presents accurate local time for sunrise and sunset.
-
Responsive design: Works smoothly across desktops, tablets, and mobile devices.
-
Error handling: Detects invalid city names, missing data, or API issues and displays clear feedback.
Tech Stack
- React.js
- Tailwind CSS
- OpenWeatherMap API
- Custom CSS animations
- Fully responsive UI design
How to Run
- Clone the repository.(npm i "link of the repo")
- Install dependencies with npm install.(npm i or npm install)
- Add your OpenWeatherMap API key inside the App.jsx file.(or in an .env file and then import it)
- Start the development server using npm start.