https://github.com/valentinh/weather-app
A weather app using Vercel edge functions for geolocation
https://github.com/valentinh/weather-app
Last synced: 11 months ago
JSON representation
A weather app using Vercel edge functions for geolocation
- Host: GitHub
- URL: https://github.com/valentinh/weather-app
- Owner: ValentinH
- Created: 2022-01-17T20:04:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-18T11:02:17.000Z (over 4 years ago)
- Last Synced: 2025-03-25T10:22:05.147Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://wedger.vercel.app
- Size: 74.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather app
## How to use
To start the app locally:
```sh
yarn install
yarn dev
```
You need to create an `.env` file at the root of the project.
You can copy the values from `.env.default`.
You can get an API key for `OPEN_WEATHER_MAP_API_KEY` here: https://openweathermap.org/price
Your can get an API key for `PLACES_API_KEY` here: https://developers.google.com/maps/documentation/places/web-service/get-api-key
## Future improvements
- store destinations somewhere better than local storage
- periodically refresh the current temperature for the destinations
- add integration tests