Weather‑Buddy is a responsive weather‑forecasting web app that lets users automatically detect their current location or search any city worldwide to get instant conditions and 7‑day forecasts. It also keeps a history of viewed locations for quick revisits.
- Automatic location detection via the browser’s Geolocation API
- Search & filter cities manually to view detailed forecasts
- Viewed Locations panel for one‑click return to past searches
- Next.js – React framework with hybrid SSG/SSR support for fast performance
- TypeScript (98.2%) – Strict typing for safer, self‑documenting code
- Tailwind CSS – Utility‑first styling for rapid UI development
- PostCSS & ESLint – Industry‑standard tooling for CSS and JS linting
-
Clone the repo
git clone https://github.com/Optimized-Brain/Weather-Buddy.git
-
Install dependencies
npm install
-
Run in development
npm run dev
Open http://localhost:3000 to view in your browser
Use OpenWeather API Key to run it locally
OPENWEATHERMAP_API_KEY=your_api_key_here