Microservice application - notification service with NoSQL database
For an e-commerce website, it is really essential that orders are tracked and users are notified at the right moment. We will create a notification service which will notify users whenever their order status changes.
Application generation
Let's generate our second microservice application (notification service) in the e-commerce-app
folder. Create a new folder where you will keep the microservices application. Let's name the foldernotification
. Go into the directory and start creating the application by running jhipster
.
The first question we are asked is to select the type of application we would like to create. We have to choose Microservice application
and then click Enter:
Then, we will select the default application name, notification
:
Then, we will select the port for the application. Since we have selected 8080
for the monolithic application and 8081
for the invoice service, we will use port 8082
for the notification...