GithubHelp home page GithubHelp logo

rohankumardubey / jhipster-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jhipster/jhipster-lite

0.0 0.0 0.0 9.62 MB

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

Home Page: https://www.jhipster.tech

License: Apache License 2.0

Shell 0.49% JavaScript 0.26% Java 64.10% TypeScript 11.20% CSS 0.18% HTML 0.15% Vue 1.40% Dockerfile 0.11% Gherkin 0.40% Mustache 21.70%

jhipster-lite's Introduction

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
  • best quality as possible: 💯% coverage, 0 code smell, no duplication 😎

Deploy to Heroku

Click on this button to deploy your own instance of JHipster Lite:

Deploy to Heroku

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.

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

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

If needed more advanced features, go to http://localhost:7471/swagger-ui.html and use your own JSON to generate the code you want. Here an example:

{
  "folder": "/tmp/beer",
  "generator-jhipster": {
    "baseName": "beer",
    "projectName": "Beer Project",
    "packageName": "tech.jhipster.beer",
    "serverPort": 8080
  }
}

You can use the different existing APIs to:

  • init the project

Then, for a Java project, you can add:

  • Maven as Build Tool
  • Gradle as Build Tool
  • Java Base classes and Domain Error

List of optional tools for Java:

  • ArchUnit tests
  • JaCoCo configuration for minimum coverage
  • Sonar configuration

Setup:

  • GitHub Codespaces
  • Gitpod

Spring Boot:

  • Spring Boot as Server Framework
  • Spring Boot Actuator
  • Tomcat or Undertow as Spring Boot MVC
    • Spring Security with JWT
      • Basic Auth
    • OAuth 2.0 and OIDC Authentication
  • AOP Logging
  • Asynchronous execution and scheduling configuration
  • Spring Cache
    • Simple
    • Ehcache
  • Developer Tools
  • Logstash TCP appender
  • Springdoc without or with Security JWT
  • Jib to build Docker image

Spring Boot Database:

  • PostgreSQL, MySQL or MariaDB as Database
    • Liquibase or Flyway as Database Migration Tool
    • User and Authority tables (depending on Liquibase or Flyway)
  • MongoDB as NoSQL Database

Spring Cloud:

  • Eureka client
  • Spring Cloud Config client
  • Spring Cloud Consul

Broker:

  • Apache Kafka

Client:

  • Angular
  • React with Vite
  • Vue with Vite

Continuous Integration:

  • GitHub Actions

jhipster-lite's People

Contributors

pascalgrimaud avatar dependabot[bot] avatar github-actions[bot] avatar danielfran avatar bolo89 avatar matthieurioual avatar swarajsaaj avatar msaguer avatar pblanchardie avatar qmonmert avatar fdelbrayelle avatar damnclin avatar beatfreaker avatar marioneyraud avatar franceq34 avatar antarus avatar seraphinandrieux avatar atomfrede avatar nonomoho avatar juliensadaoui avatar hdurix avatar sabrinapayet avatar cbornet avatar lucasmippon avatar hawkurane avatar jdubois avatar sophie-stan avatar flcarre avatar ptemplier avatar rimmi21-zz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.