💻 Tech Stack: React, Vite, OpenWeather API, CSS
A simple, responsive weather application built with React and Vite, using the OpenWeather API to display real-time weather data. I created this project to learn React, Vite, and working with APIs.
✨ Features
- Search weather by city name
- Displays local time for each city
- Shows temperature, weather icon, and city name
- Clean UI with gradient background and hover effects
🧭 Follow these steps to run the project locally
git clone https://github.com/ispeakpurebinary/weather-app
cd weather-appnpm installnpm run devThen open the local URL shown in your terminal (usually http://localhost:5173) to see your app in action.
- How to build and structure a React app using Vite
- How to use React hooks (useState, useEffect, useRef)
- How to fetch and display data from an API
- How to manage state updates and handle async requests
- How to create a clean and responsive UI with CSS
- Improve UI and overall look
- Add 5-day weather forecast
- Display humidity, wind speed, and conditions
- Use geolocation to show weather for the user’s current city