JHipster is a development platform to quickly generate, develop & deploy modern web applications & microservice architectures.
JHipster Lite will help you to start your project, by generating step by step what you need.
You need to have Java 17 :
This part is needed if you want to contribute to the project.
- Node.js: we use Node to run a prettier as code formatter. Depending on your system, you can install Node either from source or as a pre-packaged bundle.
After installing Node, you should be able to run the following command to install development tools. You will only need to run this command when dependencies change in package.json.
npm ci
To launch tests:
./mvnw clean test
To launch tests and integration tests:
./mvnw clean verify
You can run the project using Maven:
./mvnw spring-boot:run
Or, first, you can package as jar:
./mvnw package
Then, run:
java -jar target/*.jar
Then navigate to http://localhost:7471/swagger-ui.html in your browser.
You can use this JSON to generate a project:
{
"folder": "/tmp/beer",
"generator-jhipster": {
"projectName": "Beer Project",
"baseName": "beer",
"prettierDefaultIndent": 2,
"packageName": "tech.jhipster.beer"
}
}
You can use different API to:
- init the project
Then, you can add:
- Maven as Build Tool
- Java Base classes and Domain Error
- JaCoCo config for minimum coverage
- Sonar configuration
- Spring Boot as Server Framework
- Spring Boot Actuator
- Tomcat or Undertow as Spring Boot MVC
- Spring Security with JWT
- Basic Auth
- Spring Security with JWT
- PostgreSQL or MySQL as Database
- Liquibase as Database Migration Tool
- AOP Logging
- Asynchronous execution and scheduling configuration
- Spring Cache
- Simple
- Ehcache
- Developer Tools
- Logstash TCP appender