A simple weather checking API service.
- Java 1.8
- Spring Boot 2.4.3
- MySQL 5
Prerequisites:
You need to update the database config to point to your desired database first.
Run:
$ ./gradlew bootRun
Requirements | User Story | Priority |
---|---|---|
Search for today weather of a specific city | As an API consumer, I should be able to search for today's weather by inputting the city name. | High |
Save weather data | As an API consumer, I should be able to save weather data for retrieval | High |
Get historical weather data | As an API consumer, I should be able to look for weather data from past periods | High |
Delete historical weather data | As an API consumer, I should be able to delete an existing weather record | Medium |
Update historical weather data | As an API consumer, I should be able to update an existing weather record | Medium |
Able to ensure existing function is working | As an API contributor, I should be able to make sure my contribution won’t break existing function | Low |
https://openweathermap.org/current
Access current weather data for any location on Earth including over 200,000 cities! We collect and process weather data from different sources such as global and local weather models, satellites, radars and vast network of weather stations. Data is available in JSON, XML, or HTML format.