Creating the configuration producer Spring Cloud Config Server

Here, we'll explore an example of how to set up a Git-backed Config Server and use it in a simple REST application server.

Let's go to http://start.spring.io, select Maven and Spring Boot 2.0.2.RELEASE, and set the Artifact to cloud-config-app. Also select dependencies for Config Server and add that module. Then generate the application and you will be able to download a ZIP file with a preconfigured project.

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.