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. π¦οΈπ±π»
- Host: GitHub
- URL: https://github.com/grep-many/weathora
- Owner: grep-many
- Created: 2025-05-07T16:57:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-07T17:05:47.000Z (about 1 year ago)
- Last Synced: 2025-06-18T23:35:17.753Z (about 1 year ago)
- Topics: frontend, openweathermap-api, pwa-example, reactjs
- Language: JavaScript
- Homepage: https://grep-many.github.io/weathora/
- Size: 1.72 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
---