A react weather app with a clean, minimal and responsive design that focuses on the essentials.
- TypeScript
- Next.js
- Zustand
- SWR
- Base Web UI
- Styletron
- Fluent UI System Icons
- Meteocons
- OpenWeatherMap Weather Data
- Google Maps Places & Geocoding
Install and run locally
yarn
yarn start
Build for production
yarn build
Create an .env
file in the root of the project and add the following lines:
GOOGLE_MAPS_API_KEY="YOUR_GOOGLE_MAPS_API_KEY"
OPENWEATHERMAP_API_KEY="YOUR_OPENWEATHERMAP_API_KEY"
- Create an OpenWeatherMap account and generate a key
- Create a Google Maps Project, then create an API key. In the Credentials area you can restrict it to:
- Geocoding API
- Places API
Designed and built by Tom Watts