• Stars
    star
    460
  • Rank 95,202 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservices architecture, step by step - using Hexagonal Architecture 💎

Logo JHipster Lite

JHipster Lite

JHipster Lite version JHipster Lite Maven Central JHipster Lite Docker Hub

Build Status Coverage Status sonarcloud-coverage

sonarcloud-quality-gate sonarcloud-maintainability

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

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 😎

This is a sample application created with JHipster Lite.

Quick Start

You need to clone this project and go into the folder:

git clone https://github.com/jhipster/jhipster-lite
cd jhipster-lite

Run the project:

./mvnw

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

Some videos

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

GraalVM Native Support

This project has been configured to let you generate either a lightweight container or a native executable. It is also possible to run your tests in a native image. Lightweight Container with Cloud Native Buildpacks

If you're already familiar with Spring Boot container images support, this is the easiest way to get started. Docker should be installed and configured on your machine prior to creating the image.

To create the image, run the following goal:

./mvnw spring-boot:build-image -Pnative

Then, you can run the app like any other container:

docker run -p 7471:7471 --rm docker.io/library/jhlite:<VERSION>

Executable with Native Build Tools

Use this option if you want to explore more options such as running your tests in a native image. The GraalVM native-image compiler should be installed and configured on your machine.

NOTE: GraalVM 22.3+ is required.

To create the executable, run the following goal:

./mvnw native:compile -Pnative -DskipTests

Then, you can run the app as follows:

./target/jhlite

You can also run your existing tests suite in a native image. This is an efficient way to validate the compatibility of your application.

To run your existing tests in a native image, run the following goal:

./mvnw test -PnativeTest

Lint

We use multiple linters check and lint your code:

To check:

npm run lint:ci

To lint and fix all code:

npm run lint

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.

These following profiles are available and you can use it to only display the frameworks you want:

  • angular
  • react
  • vue

For example, you can run:

./mvnw -Dspring-boot.run.profiles=vue

or

java -jar target/*.jar --spring.profiles.active=vue

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

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.

Contributing

We are honoured by any contributions you may have small or large. Please refer to our contribution guidelines and instructions document for any information about contributing to the project.

Sponsors

Support this project by becoming a sponsor! Become a sponsor or learn more about sponsoring the project.

Thank you to our sponsors!

Platinum Sponsors

Gold Sponsors

Bronze sponsors

BronzeSponsors

Backers

Thank you to all our backers!

Backers

More Repositories

1

generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
TypeScript
21,481
star
2

jhipster-sample-app

This is a sample application created with JHipster
TypeScript
1,366
star
3

prettier-java

Prettier Java Plugin
Java
1,080
star
4

jhipster-registry

JHipster Registry, based on Spring Cloud Netflix Eureka and Spring Cloud Config
TypeScript
698
star
5

jhipster-kotlin

Kotlin based JHipster
EJS
451
star
6

jhipster

DEPRECATED: use https://github.com/jhipster/jhipster-bom instead
Java
410
star
7

jdl-studio

JDL Studio is an online JHipster Domain Language visual editor
TypeScript
405
star
8

jhipster.github.io

Public website for JHipster - generates https://www.jhipster.tech
TypeScript
346
star
9

jhipster-core

JHipster Domain Language, used by JHipster UML and JDL-Studio to generate entities
JavaScript
345
star
10

jhipster-dotnetcore

JHipster.NET blueprint
EJS
313
star
11

jhipster-vuejs

A Vue.js blueprint for JHipster. It will use Vue.js as the frontend library!
TypeScript
301
star
12

generator-jhipster-react-native

A React Native blueprint for JHipster
EJS
263
star
13

jhipster-uml

UML support for JHipster
JavaScript
260
star
14

generator-jhipster-nodejs

A NodeJS blueprint that creates the backend using NestJS
EJS
257
star
15

jhipster-console

JHipster monitoring & alerting console, based on ELK
Go
226
star
16

jdl-samples

Sample JDL files
220
star
17

jhipster-sample-app-react

This is a sample application created with JHipster, using React
Java
218
star
18

jhipster-online

JHipster Online lets you generate your JHipster projects through a user friendly web interface.
Java
205
star
19

jhipster-devbox

JHipster virtualized development box
Shell
199
star
20

generator-jhipster-ionic

Ionic for JHipster ✨
TypeScript
191
star
21

jhipster-guides

Guides to help you learn JHipster quickly
Shell
186
star
22

generator-jhipster-quarkus

Quarkus blueprint for JHipster
EJS
140
star
23

generator-jhipster-entity-audit

JHipster module to enable entity audit and audit log page
EJS
135
star
24

jhipster-ide

An IDE for the JHipster Domain Language
Xtend
127
star
25

ng-jhipster

JHipster Angular library
TypeScript
122
star
26

generator-jhipster-micronaut

Micronaut blueprint for JHipster
EJS
99
star
27

jhipster-sample-app-ng2

DEPRECATED now that Angular 2+ is the default - This is a sample application created with JHipster, using Angular 2
Java
95
star
28

jhipster-sample-app-vuejs

This is a sample application created with JHipster, with the Vue.js blueprint
Java
94
star
29

react-jhipster

JHipster React library
TypeScript
83
star
30

jhipster-bom

JHipster BOM and server-side library
Java
77
star
31

webflux-jhipster

HTML
69
star
32

generator-jhipster-svelte

Generate Svelte powered JHipster web applications
EJS
64
star
33

jhipster-control-center

Manage your JHipster applications from a single place
TypeScript
60
star
34

jhipster-docker

DO NOT USE - DEPRECATED REPO - Old jdubois/jhipster Docker image, replaced by https://hub.docker.com/r/jhipster/jhipster/
59
star
35

jhipster-sample-app-microservice

This is a sample application created with JHipster, with the Microservice type
Java
53
star
36

jhipster-sample-app-oauth2

This is a sample application created with JHipster, with the OAuth2 option
TypeScript
52
star
37

jhipster-loaded

DEPRECATED - Java Agent used by JHipster to hot-reload Java classes
Java
51
star
38

jhipster-net-sample-app-template

JHipster.NET sample application
C#
50
star
39

jhipster-experimental-microservices

DON'T USE THIS - old experimental repository
Java
45
star
40

generator-jhipster-native

JavaScript
43
star
41

jhipster-sample-app-gradle

This is a sample application created with JHipster, with the Gradle option
TypeScript
43
star
42

generator-jhipster-module

DEPRECATED: use https://github.com/jhipster/generator-jhipster instead
EJS
43
star
43

jhipster-sample-app-dotnetcore

This is a sample .NET application created with the JHipster .NET blueprint
TypeScript
40
star
44

jhipster-oh-my-zsh-plugin

JHipster plugin for oh-my-zsh
Shell
39
star
45

jhipster-sample-app-elasticsearch

This is a sample application created with JHipster, using ElasticSearch
TypeScript
39
star
46

jhipster-sample-app-nodejs

This is a sample application created with NodeJS JHipster Official Blueprint (NHipster)
TypeScript
38
star
47

jhipster-sample-app-gateway

This is a sample application created with JHipster, with the Gateway type
TypeScript
37
star
48

generator-jhipster-blueprint

DEPRECATED: use https://github.com/jhipster/generator-jhipster instead
JavaScript
35
star
49

jhipster-app

The JHipster App lives in the menu bar, and helps running the most usual JHipster tasks
JavaScript
33
star
50

cn

中文官方版本, 由社区维护
JavaScript
30
star
51

consul-config-loader

A small docker based tool to load Spring Boot property files into Consul's K/V Store
Shell
29
star
52

jhipster-sample-app-quarkus

JHipster on Quarkus
TypeScript
28
star
53

chevrotain-java

A javascript based java parser based on chevrotain
JavaScript
28
star
54

jhipster-sample-app-mongodb

This is a sample application created with JHipster, with the MongoDB option
TypeScript
26
star
55

jhipster-sample-app-websocket

This is a sample application created with JHipster, with the Websocket option
TypeScript
26
star
56

devoxx-2016

Code developed live during Devoxx 2016: video is at https://www.youtube.com/watch?v=dzdjP3CPOCs and slides are at http://www.slideshare.net/julien.dubois/devoxx-being-productive-with-jhipster
Java
25
star
57

jhipster-sample-app-hazelcast

This is a sample application created with JHipster, with the Hazelcast option
TypeScript
24
star
58

jhipster-sample-app-micronaut

[WORK IN PROGRESS] JHipster on Micronaut
Java
23
star
59

jhipster-sample-app-token

DEPRECATED as JWT is now the default option - this is a sample application created with JHipster, with the JWT authentication option
Java
22
star
60

jhipster-sample-app-dto

This is a sample application created with JHipster, using DTOs
TypeScript
21
star
61

jhipster-go

GoHipster: A JHipster blueprint that will provide Golang as the server side language
JavaScript
21
star
62

jhipster-artwork

All artwork related to JHipster
19
star
63

jhipster-registry-sample-config

Sample Spring Cloud Config repository for the JHipster Registry
18
star
64

jhipster-dashboard

Hystrix dashboard for JHipster microservices architecture
Shell
16
star
65

jhipster-bot

Bot for creating JHipster applications
JavaScript
15
star
66

jhipster-sample-app-kotlin

This is a sample application created with JHipster, with the Kotlin blueprint
Kotlin
14
star
67

jhipster-docker-hub

docker-compose files using images from JHipster organization at Docker Hub
Shell
14
star
68

jhipster-ansible

Ansible role for managing releases
13
star
69

jhipster-sample-app-cassandra

This is a sample application created with JHipster, with the Cassandra option
TypeScript
13
star
70

jhipster-openid-connect

WORK IN PROGRESS - DO NOT USE YET - JHipster OpenID Connect server, based on CloudFoundry UAA
13
star
71

jhipster-operator

Java
12
star
72

generator-jhipster-docker-compose

DO NOT USE THIS REPO - it's now a sub-generator in the main generator-jhipster project
JavaScript
12
star
73

jhipster-sample-app-svelte

This is a sample application created with JHipster Svelte blueprint
Java
10
star
74

jhipster-lite-sample-app

This is a sample application created with JHipster Lite
Java
10
star
75

jhipster-automated-samples

Automatically generate the JHipster sample applications
Shell
10
star
76

jhipster-sample-app-nodejs-oauth2

This is a sample application created with NodeJS JHipster Official Blueprint (NHipster), with OAuth2 and the React option
TypeScript
9
star
77

jhipster-dependencies

DEPRECATED - Maven BOM for all JHipster projects
Shell
9
star
78

generator-jhipster-jooq

JHipster blueprint for jOOQ support
JavaScript
9
star
79

jhipster-fisher-plugin

A fisher plug-in for JHipster
Shell
8
star
80

jhipster-neo4j-app

Sample JHipster application forked to use Neo4J
Java
8
star
81

eslint-config-jhipster

JavaScript
8
star
82

jhipster-sample-app-ng1

DEPRECATED as AngularJS 1.X support is removed in JHipster 5 - This is a sample application created with JHipster, using AngularJS 1.x
Java
8
star
83

jhipster-net

Core library for JHipster.NET
C#
7
star
84

jhipster-dotnet

C#
7
star
85

jhipster-sample-app-java7

DEPRECATED as Java 7 is deprecated on JHipster
Java
7
star
86

jhipster-php

[work in progress] PHP implementation for JHipster
Java
7
star
87

hipslacker

A Slack bot for JHipster
Python
7
star
88

jhipster-ci-stack

DO NOT USE - UNDER DEVELOPMENT Official Docker continuous integration agent image
7
star
89

jhipster-sample-app-nocache

This is a sample application created with JHipster, without using a 2nd level cache
TypeScript
6
star
90

jhipster-lite-extension

JHipster Lite Sample Extension ⚡
Java
5
star
91

jhipster-registry-buildpack

A buildpack for the JHipster Registry
Shell
5
star
92

jhipster-sample-app-couchbase

This is a sample application created with JHipster, with the Couchbase option
TypeScript
4
star
93

jhipster-sample-app-blazor

Blazor front-end for JHipster .NET Core
C#
4
star
94

jhipster-code

Website for JHipster Code
JavaScript
4
star
95

jhipster-sample-app-noi18n

This is a sample application created with JHipster, without using i18n
TypeScript
4
star
96

documentation-archive

Archive for old JHipster documentation
HTML
3
star
97

jhipster-sample-app-golang

A sample application for go blueprint
3
star
98

jhipster-sample-app-nodejs-vuejs

This is a sample application created with NodeJS JHipster Official Blueprint (NHipster), with MongoDB and the Vue.js option
TypeScript
3
star
99

.github

Maintains all of the default policies for the JHipster organization
2
star
100

jhipster-sample-application

Java
2
star