Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 692 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 692 Bytes

Instant weather


Features

  • Get the weather information for a location.
    • Get the information for a specific hour
  • Caches the results on a radio.

Deploy

cp .env.example .env
# Edit .env with your own values.
docker-compose up

Endpoints

url Description
/:lat/:lon Returns the weather information of the location by hours and by days
/:lat/:lon/:hour Returns the weather information of the location at the specified time

Test

Simply run:

npm run test