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

https://github.com/grep-many/weathora

Weathora is a sleek React PWA weather app using OpenWeatherMap API. Get current weather, temperature, humidity, and wind details with a responsive design. Installable on mobile & desktop for offline access. πŸŒ¦οΈπŸ“±πŸ’»
https://github.com/grep-many/weathora

frontend openweathermap-api pwa-example reactjs

Last synced: 9 months ago
JSON representation

Weathora is a sleek React PWA weather app using OpenWeatherMap API. Get current weather, temperature, humidity, and wind details with a responsive design. Installable on mobile & desktop for offline access. πŸŒ¦οΈπŸ“±πŸ’»

Awesome Lists containing this project

README

          

# Weathora 🌦️

A sleek Progressive Web App (PWA) weather dashboard built with React and the OpenWeatherMap API.

---

## 🌟 Features

βœ… Search current weather by city
βœ… View temperature, humidity, wind, pressure
βœ… Responsive and minimal design
βœ… PWA support (installable on mobile/desktop)
βœ… Uses OpenWeatherMap API

---

## πŸ”§ Setup

1. **Clone this repo**
```bash
git clone https://github.com/grep-many/weathora.git
cd weathora
```

2. **Install dependencies**
```bash
npm install
```

3. **Get your OpenWeatherMap API key**
- Sign up at [https://openweathermap.org/api](https://openweathermap.org/api)
- Get a free API key

4. **Add API key to environment**
- Create a `.env` file in the root:
```
REACT_APP_WEATHER_API_KEY=your_api_key_here
```

5. **Start the app**
```bash
npm start
```

---

## βš™οΈ Build for Production

```bash
npm run build
```

---

## πŸ’Ύ Enable PWA

This project uses `serviceWorker` and `manifest.json` to enable installable PWA behavior.
When you build the app (`npm run build`) and deploy it on HTTPS, it will:

- Work offline (cached pages)
- Show β€œInstall” button on supported browsers
- Add an icon on home screen or desktop

---

## πŸ“¦ Tech Stack

- React
- OpenWeatherMap API
- CSS
- Create React App (CRA) with PWA template

---