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 authenticationType, eureka 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.