An open API service indexing awesome lists of open source software.

https://github.com/viboverse/react-weather-app

Weather dashboard with search and forecast powered by a public weather API.
https://github.com/viboverse/react-weather-app

api css html javascript openweather-api react tailwindcss webapp

Last synced: about 2 months ago
JSON representation

Weather dashboard with search and forecast powered by a public weather API.

Awesome Lists containing this project

README

          

# React Weather App


React 19.1.0
Vite 7.0.4
Tailwind CSS 4.1.11
Motion 12.23.6
ESLint 9.31.0
Prettier 3.6.2
Node 18.18.0+
npm 9.0.0+

Powered by Vercel


Fast, minimal weather app built with React and Vite, styled with Tailwind CSS and animated using Motion. It shows the current conditions and a 5โ€‘day forecast from OpenWeatherMap. Runs on Node 18+ and is deployed on Vercel.


Live demo ยป

## โœจ Features

- Current weather: temperature, humidity, wind, and conditions
- 5โ€‘day forecast with daily breakdown
- City search with friendly errors
- Responsive layout with subtle animations

## ๐Ÿ› ๏ธ Tech stack (versions)

- React 19.1.0
- Tailwind CSS 4.1.11
- Motion 12.23.6 (Framer Motion for React 19)
- Vite 7.0.4
- Tooling: ESLint 9.31.0, Prettier 3.6.2
- Runtime: Node 18.18.0+, npm 9.0.0+

## ๐Ÿš€ Installation

Prerequisites

- Node.js 18.18.0 or newer
- An OpenWeatherMap API key

Clone and run

```powershell
# Clone
git clone https://github.com/viboverse/react-weather-app.git
cd react-weather-app

# Install deps
npm install

# Configure environment
# Create .env and add your API key
"VITE_API_KEY=YOUR_OPENWEATHER_API_KEY" | Out-File -Encoding utf8 .env

# Start dev server
npm run dev
```

Build and preview

```powershell
npm run build
npm run preview
```

## ๐Ÿ“ธ Screenshots

Desktop Screenshot

## ๐Ÿ™ Acknowledgments

- OpenWeatherMap API for weather data
- Shields.io for the badges
- Vercel for hosting

---

**Built by [Vahab Afsharian](https://github.com/viboverse)**