Walking through the generated files

The files generated by JHipster are in the following structure. That is, each application will have its own folder and the files related to that service will be present inside it.

We will start with the gateway application. There will be three generated files, which will be the gateway-service, gateway-mysql, and gateway-deployment.yml files.

The following is the gateway-service.yml file:

apiVersion: v1kind: Servicemetadata:     name: gateway    namespace: default    labels:        app: gatewayspec:    selector:        app: gateway    type: LoadBalancerports: - name: web   port: 8080

The first line defines the API version of Kubernetes, followed by the kind of template or object that this template carries. This template will have a service ...

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

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