January 2018
Intermediate to advanced
414 pages
10h 29m
English
We can use Spring Initializr again to create our Configuration Server by visiting https://start.spring.io/.
We have chosen to create a Maven Project using Kotlin and Spring Boot 2.0.0 M7, we chose the Group to be com.microservices and the Artifact to be chapter06-config-server. For Dependencies, we have set Config Server.
Now we can click Generate Project to download it as a ZIP file. After we unzip it, we can open it with IntelliJ IDEA to start working on our Configuration Server.
We can run it as we ran our microservice before, for example, using the command line in the config server folder:
mvnw spring-boot:run
After a few seconds, we should see the log lines:
INFO 1872 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer ...
Read now
Unlock full access