Skip to content

Example API for ☀️ weather ☀️ information of a location, cached results in mongo and easy deployment 📦

Notifications You must be signed in to change notification settings

zaldih/instant-weather

Repository files navigation

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

About

Example API for ☀️ weather ☀️ information of a location, cached results in mongo and easy deployment 📦

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published