In this section, we will launch the configuration service and main application.
To start with, go to start.spring.io
and create a Spring Boot application, as mentioned in the earlier examples. For this project, the group name of our application will be com.practicalMicroservcies
. First, we will create a configuration that will provide configuration to the various services of our project. To create this, we will create a Spring Boot project with configServer
as the name and with an option of the cloud starter as well. If you download your project from start.spring.io
, your folder structure will be as follows:
The pom.xml
file will be as follows:
<?xml version="1.0" encoding="UTF-8"?> <projectxmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4...