This web service focuses on consuming an external API to the data which is then saved to the database. You are able to store a forecast for given location within few seconds. The forecast for stored locations is sending request to update every 30 minutes.
- Spring framework
- MySQL database
- Swagger - for API visualisation
/weather/list
Extracting forecasts for every location stored in database.
/weather/new ย eg. /weather/new?lat=50&lon=19
Fetching forecast for given latitude and longitude, and then saving it to the database.
/weather/update
Updating weather forecast for every location stored in database.
/weather/delete eg. /weather/delete?lat=30&lon=1
Deleting everything associated with given location from database.