Server used for hiding API keys, rate limiting and caching. This uses the OpenWeather API but you can easily change it to whatever public API you are using
npm install
Run on http://localhost:5000
npm run dev
Rename .env.example to .env and edit the values
If the public API URL is https://api.openweathermap.org/data/2.5/weather?q={city}&appid={APIkey}
- API_BASE_URL = "https://api.openweathermap.org/data/2.5/weather"
- API_KEY_NAME = "appid"
- API_KEY_VALUE = "YOUR API KEY"