A responsive weather application built with React and TypeScript that provides current and forecasted weather data based on user location or search input.
- 🌍 Automatic location detection
- 🔍 Manual city search
- 📈 Detailed weather forecasts
- 📱 Mobile-friendly design
The app uses the following third-party APIs to deliver weather data and location services:
- Provides current weather and forecasts
- Returns temperature, humidity, wind speed, and weather conditions
- Free tier available with API key
- Converts city names to geographic coordinates
- Supports autocomplete for location search
- Free tier available with username registration
- Detects user location by IP address
- Returns city, country, and coordinates
- Free tier available (1000 requests/day)
Prerequisites
- Node.js v20.11.1
- Backend server running
git clone https://github.com/katozaaaa/weatherApp.gitcd weatherAppnpm installnpm run dev| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Create production build |
npm run lint |
Run ESLint |
npm run lint:fix |
Auto-fix linting errors |
npm run preview |
Preview production build |
