JHipster is a tool that helps you quickly build, develop, and launch contemporary web applications and microservice structures. It offers support for several front-end technologies like Angular, React, and Vue, as well as mobile app development using Ionic and React Native. On the backend, it offers compatibility with Spring Boot using Java or Kotlin, Micronaut, Quarkus, Node.js, and .NET. For deployment, JHipster follows cloud-native concepts and works with Docker and Kubernetes, and it can be deployed on various platforms such as AWS, Azure, Cloud Foundry, Google Cloud Platform, Heroku, and OpenShift.
1. Install Node.js from http://nodejs.org
2. Install Yarn from https://yarnpkg.com/en/docs/install
3. Yeoman (command: yarn global add yo)
4. JHipster (command: yarn global add generator-jhipster)
before we start let me tell you one thing, jhipster boosted application will required java 11 or higher and maven 3.8.5 or higher, otherwise it won't work.
open your console and hit jhipster or yo jhipster
later we need to fill the form by giving answers to jhipster application console regarding our technology preference, like what technology do we need for front-end or back-end etc. i've listed sample answers below.
> Which type of application would you like to create? : Gateway application (means microservice gateway application)and boom! our application will get up and running by itself with a proper technology skeleton. NOTE: this process will take 5-10 minutes depending on your internet speed.
hit npm start in the console
After these steps go to browser and access your application on localhost:4200, it will look like below given screen.
Our front-end is up and running now, configure our back-end in order to use the functionalities.
again open console and hit the command: mvn install
now go to target folder and run the war file using command: java -jar jhipsterdemo-0.0.1-SNAPSHOT.war
go to /home/vivek/Git/JHipster_Learning/src/main/resources/config/application.yml and fill database details as shown below, and re-run the war file.
As we are connected with database now, we can do the register and sign-in and can check the default fetures given to bootstrap our application, i've sign in as a default credential which is admin, admin for Administrator and checked the swagger API, you can also check other functionalities such as metrics, health, configuration, user management etc.
Source : https://www.jhipster.tech/