Let’s dive into a stunning code generator. It offers out of the box features and utilities to generate web based responsive applications with documented REST API.
We recently published a blog post on the importance of RAD Software in the current times. Now, we will explore Jhipster regarding its setup and usage. Jhipster is a free and open source software built on top of rapid application development model. It provides a developer-friendly ecosystem that is quite promising and comes up with powerful rapid web application development tools. However, we will look at how to set up this best rapid application development software and create our first application with it.
In this blog post we will cover the following points:
- What is Jhipster and how to install it?
- How to generate and run a basic application?
- Explore the Admin dashboard of the generated app
What is Jhipster and how to install it?
Jhipster is an open source RAD software that is used to generate enterprise web applications. It offers a Java-based Sprint Boot framework on the server-side and popular front-end technologies such as Angular, Vue.js, and React.js. Jhipster includes robust microservice architecture with multiple user authentication mechanisms such as OAuth.20, JWTs, and HTTP Session authentication. There is complete support to run tests using popular testing frameworks such as Gatling and Protractor.
Let’s see how can we install it. First, we will install the following prerequisites.
Once the installation is completed, open the terminal and run the following command.
npm install -g generator-jhipster
This command may take a few minutes, and after successful completion, Jhipster will be installed on your machine.
You may check to the following command to check the installation.
How to generate and run a basic application?
In this section, we will learn how to generate our first application using this open source RAD software.
Go back to the terminal window, run the following commands:
After making directories, run the following command mentioned below:
This command will initiate the process. Answer all the questions regarding application tech preferences such as front end and back end technologies, database, testing framework, and more as you can see in the image below.
After answering all the questions, Jhipster will generate code files into your folder.
Now, run the generated application with the following command:
Note: This command will work if you have chosen Maven as build automation for the backend.
Access your application into the browser at http://localhost:8080/.
Explore the Admin dashboard of the generated app
Once you hit http://localhost:8080/ in your browser, you will see the following screen.
You can use the mentioned credentials to sign in as admin. Jhipster provides two default user roles. After a successful sign in, you will have the following provisions shown in the image.
Jhipster provides complete user management where you can manage your users as you can see in the image below.
The health option gives you information about your disk space and database.
There is a complete logging system available in the Jhipster admin dashboard.
The Jhipster admin dashboard also provides REST endpoints of built-in and custom functionalities.
This Jhipster tutorial article highlighted some important insights. It is lightweight and easy to set up with a few simple shell commands. Feel free to install it today if you are seriously looking for an open source rapid application development platform.
Relevant Product Pages
You may find the following links relevant: