Simple weather data application that imports data every 15 min for the cities in the list.
The data imported include: temperature, humidity, wind speed and time in Unix format.
Two cities are already preloaded and start importing data when the application is started.
Uses H2 in-memory database with Spring Boot.
Java JDK 17
To create your API key, create a user at https://openweathermap.org/ , and you can find it under https://home.openweathermap.org/api_keys. Then replace "INSERT_API_KEY_HERE" with your own API key in the application.properties file in src/main/resources.
Swagger is used to test REST API functionality, and it is located at http://localhost:8080/swagger-ui/.
{ "id": 588409, "name": "Tallinn", "country": "EE" }
Full list of cities here (city.list.json.gz): http://bulk.openweathermap.org/sample/<>