Thanks to:
openweathermaps.org
smhi.se
weatherapi.com
Start this app up using docker (production):
docker compose build
docker compose up
Or without docker (production):
npm install --omit=dev
npm start
If you wish to host this API for yourself you will need API keys for certain services, see .env.example.
Start this app up for development:
npm install
npm run start:dev
Run tests:
npm test
Get app- and contact info
Test if the api is running
Returns my CV as a pdf
Gets the location related to your IP address
Combines these two requests, you can use the same query as described in the docs (but without appid)
https://openweathermap.org/current
https://openweathermap.org/forecast5
Combines these current and forecast requests, you can use the same query as described in the docs (but without appid)
https://openweathermap.org/api/air-pollution
Combines these three requests plus local weather warnings (warnings are currently only supported in Sweden). You can use the same query as described in the docs (but without appid)
https://openweathermap.org/current
https://openweathermap.org/forecast5 (weather data sorted in to days)
https://openweathermap.org/api/air-pollution (only current)