How to Generate a Full Stack Application Using JHipster
Hello everyone, Today we will learn how to generate a Monolithic Full stack application using JHipster.
What is JHispter?
JHipster is an open-source application development platform to quickly generate, develop, & deploy modern web applications & microservice architectures using Angular or React or Vue and Spring Boot or Quarkus Frameworks.
JHipster Environment Setup
Step 3: Install JHipster using the following command
npm install -g generator-jhipster
or
yarn global add generator-jhipster
or
Download the JHipster Docker image, click here
Step 4(Optional):
You normally don’t have to install anything, as JHipster will automatically install the Maven Wrapper or the Gradle Wrapper for you. If you don’t want to use those wrappers, go to the official Maven website or Gradle website to do your own installation.
Creating a Web App using JHipster
Step 1: Create an empty directory in which you will create your application.
mkdir myapp
cd myapp
Step 2: To auto-generate your application, type below command
jhipster
Answer the questions asked by the generator to create an application tailored to your needs, like below:
Click Enter,
If everything goes fine, then you see the following output in your terminal:
Running the Application
Once the application is generated, you can launch it using
Maven
./mvnw
Gradle
./gradlew
Starting the Spring Boot application on port 8080:
If everything works well, then finally you see the following output in your terminal:
Next, You can open the project with your favourite IDE and start exploration,
Happy coding!