JDL specification for the invoice application

For the invoice application, our JDL will look as follows. Add it after the gateway application declaration:

application {  config {    baseName invoice,    applicationType microservice,    packageName com.mycompany.store,    serviceDiscoveryType eureka,    authenticationType jwt,    prodDatabaseType mysql,    buildTool gradle,    serverPort 8081,    languages [en, zh-cn, ta]  }}

We will set applicationType to microservice and, similar to our gateway, select jwt for authenticationTypeeureka for serviceDiscoveryType, and so on. Since we don't want any port conflicts, we will also set serverPort to 8081.

Get Full Stack Development with JHipster - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.