1st micro-service
Adding a new dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
Go to application main class and enable the service discoverable. @EnableDiscoveryClient
Refreshing the Eureka
The service is registered with the Eureka.