Renan Franca
Posted on March 9, 2022
Generating your project using JHipster quick start steps
- Install Java, Git and Node.js
- Install JHipster
npm install -g generator-jhipster
- Create a new directory and go into it
mkdir myApp && cd myApp
- Run JHipster and follow instructions on screen
jhipster
- Model your entities with JDL Studio and download the resulting
jhipster-jdl.jdl
file - Generate your entities with
jhipster jdl jhipster-jdl.jdl
You are going to have a bootstrap project with a lot of features and functionalities already configured and implemented. I will share with you the JHipster features I like the most.
My 15+ Reasons to use JHipster
- Update all libraries and framework automatically when upgrading the JHipster version of the project (I upgraded from version 7.1.0 to 7.2.0 smoothly) - https://www.jhipster.tech/upgrading-an-application/
- Already configured Husky (configure git hooks for automatic tasks) - https://typicode.github.io/husky
- Already configured eslint (javascript code analysis and automatic fix) - https://eslint.org/
- Already configured EditorConfig to maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs - https://editorconfig.org/
- Already configured BrowserSync the time-saving synchronized browser testing - https://browsersync.io/
- Already configured Progressive Web App (PWA) to make your web app application installable on Android when opened inside google chrome - https://blog.ippon.tech/build-a-pwa-in-jhipster/
- Already configured spring profiles for development and production - https://www.jhipster.tech/profiles/
- When run on dev already generate external IP to access throw your phone or another device on your domestic network
- Already configured liquibase. Learn more on How to Use Liquibase to Update the Schema of Your JHipster Application by @avdev4j
- Already implemented user management module (registration, login, forgot password, roles)
- Every generated code has an automatic test implemented (Angular and Spring Boot), so after using the JHipster generator just run
./mvnw verify
and you are ready to go if all tests pass - Already built-in internationalization support!! - https://www.jhipster.tech/development/#internationalization
- The Angular and Spring Boot code is really easy to read and customize! In addition, there are many “helper” classes to assist you with business logic implementation!
- Already configured Cypress for end-to-end tests. Learn how to use cypress with Anthony Viard
- Already implemented a sophisticated error handler - https://www.jhipster.tech/managing-server-errors/
- Created a useful Readme.md file with instructions to explore and run your generated project.
I hope you have the time to try out JHipster. If you have any questions or just want to say something, please, use the comment section 😊
💖 💪 🙅 🚩
Renan Franca
Posted on March 9, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.