We have created our gateway and two microservice applications. These microservices have two different databases. So far, it has been easy and simple to create these with JHipster. We also enabled service discovery with Eureka for the applications. This means we would have to run a service registry in order to deploy the applications.
JHipster provides two different options we have previously seen, Consul and JHipster Registry. For our use case, since we have chosen Eureka, we need to go with JHipster Registry. We learned about JHipster Registry in Chapter 8, Microservice Server-Side Technologies. Now, we will learn how to set up and start it in our local development environment.
These three services basically act as Eureka clients. We need a service registry that registers and deregisters the application as and when the application is started...