Skip to content

JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservice architectures, step by step.

License

Notifications You must be signed in to change notification settings

fdelbrayelle/jhipster-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo JHipster Lite

JHipster Lite ⚡

JHipster Lite version Build Status Coverage Status

sonarcloud-quality-gate sonarcloud-maintainability

sonarcloud-bugs sonarcloud-vulnerabilities sonarcloud-security sonarcloud-code-smells sonarcloud-coverage

Description

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 only what you need.

  • The generated code uses Hexagonal Architecture
  • The technical code is separated from your business code
  • You will only generate the code you want, no additional unused code
  • The best quality as possible: 💯% coverage, 0 code smell, no duplication 😎

Choosing

The original JHipster and JHLite are not the same thing, they are not generating the same code and not serving the same purpose! Here are some choice elements you can take into account:

Choosing JHipster

Prerequisites

Java

You need to have Java 17 :

Node.js and NPM

  • Node.js: we use Node to run a development web server and build the project. 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.

npm ci

You will only need to run this command when dependencies change in package.json.

npm install

Test the project

To launch tests:

./mvnw clean test

To launch tests and integration tests:

./mvnw clean verify

Prettier

We use prettier and prettier-java to format our code.

To check format:

npm run prettier:check

To launch format all code:

npm run prettier:format

Sonar Analysis

To launch local Sonar Analysis:

docker compose -f src/main/docker/sonar.yml up -d

Then:

./mvnw clean verify sonar:sonar

So you can check the result at http://localhost:9001

Run the project

You can run the project using Maven, as spring-boot:run is the default target:

./mvnw

Or, first, you can package as jar:

./mvnw package

Then, run:

java -jar target/*.jar

So you can navigate to http://localhost:7471 in your browser.

Docker/Podman Quickstart

To start a local instance of JHipster Lite, go to your desired application folder and run:

docker run --rm --pull=always -p 7471:7471 -v $(pwd):/tmp/jhlite:Z -it jhipster/jhipster-lite:latest

Or with podman:

podman run --rm --pull=always -p 7471:7471 -v $(pwd):/tmp/jhlite:Z -u root -it jhipster/jhipster-lite:latest

Then, go to http://localhost:7471

e2e tests

You need to run the project first. Then, you can run the end-to-end tests:

npm run e2e

Or in headless mode:

npm run e2e:headless

Glyph

If you need to add a new glyph icon, please notice we are using Fontello. Please read the help Fontello section for any questions.

To add a new glyph using Fontello, please launch:

npm run glyph:open

Then, when you've finished, please download the config only and replace it under src/main/glyph/config.json.

Now you're able to launch:

npm run glyph:build

This will replace the current CSS and font files into the sources.

Generate your project

Once started, go to http://localhost:7471, select your option and generate the code you want, step by step, and only what you need.

About

JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservice architectures, step by step.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 56.2%
  • Mustache 29.1%
  • TypeScript 9.2%
  • Gherkin 1.6%
  • Vue 0.7%
  • HTML 0.7%
  • Other 2.5%