- POST /auth/login - takes Basic token (login and password) and returns JWT token for user
- GET /favorite-locations - verify user and return list of favorite cities
- GET /locations - verify user and return list of available cities
- POST /location/:id/favorite - verify user and add city to favorites for given user
- GET /weather - fetch and return weather for user favorited cities
mkedziora/weather-API
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|