A simple React application to display current weather information for a searched city or your current location.
- Search weather by city name
- Get weather for your current location using geolocation
- Displays temperature, location, and weather condition icon
- Node.js (v14 or higher recommended)
- npm
- Clone the repository:
git clone <repository-url> cd weather-app
- Install dependencies:
npm install
npm startThe app will be available at http://localhost:3000.
src/components/- UI components (Button, Card, Input)src/context/weather.jsx- Weather context and providersrc/api/index.js- API calls to weather service
This app uses WeatherAPI for fetching weather data.
MIT
