May 2018
Intermediate to advanced
310 pages
6h 18m
English
Next, we need to run our application and trigger API methods. Add a file named application.properties to your application resources folder:
spring.application.name= Journaler API server.port= 9000
This will represent the configuration of our local development environment. Thanks to Spring Boot, it is possible to externalize configuration so we can work with the same application code in different environments.
So, what have we done in these three lines?
What else can be configured? First of all, we can configure logging. Let's extend our application.properties:
... logging.level.root=INFO ...
Read now
Unlock full access