Skip to content

antemo/coding-dojo-spring-boot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Log Application

This application is used to get current weather data from OpenWeather and store it in the database. Application is implemented in fully asynchronous way using Spring WebFlux and Spring Data R2DBC.

Initial setup

Application uses Java 14 and Maven 3.6.3 which should be installed on system. Current application configuration expects PostgreSQL database dojo to be available at localhost:5432 with user postgres having password postgres, but all this can be changed in application.yml configuration file.

Running application

Application can be started using following command:

mvn spring-boot:run -Dspring-boot.run.arguments=--weather.apiKey=YOUR_API_KEY

Another option is to add weather.apiKey to application.yml configuration file, in which case running application is much simpler:

mvn spring-boot:run

Footnote

It's possible to generate the API key going to the OpenWeather Sign up page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%