generator-jhipster README

The project's README from github.com/jhipster/generator-jhipster. As one markdown file: README.md.

Logo

NPM version Downloads Gitter Known Vulnerabilities Package Health

Generator Build Status Angular Build Status React Build Status Vue Build Status Revved up by Develocity

Greetings, Java Hipster!

Full documentation and information is available on our website at https://www.jhipster.tech.

Please read our guidelines before submitting an issue. If your issue is a bug, please use the bug template pre-populated here. For feature requests and queries you can use this template. If you have found a potential security issue, please read our security policy and contact us privately first: https://github.com/jhipster/generator-jhipster/security/policy

Contributing

We are honored 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.

Supported Java and Node versions

The following Java and Node combinations are tested and verified by GitHub Actions:

Java Node Status
21/25 22/24 ✅

Sponsors

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

Thank you to our sponsors!

Gold sponsors

GoldSponsors

Bronze sponsors

BronzeSponsors

Backers

Thank you to all our backers!

Backers

Daily Builds

Additional builds at hipster-labs/jhipster-daily-builds

Pipeline Status
Angular Maven SQL
Angular Maven NoSQL
Angular Gradle SQL
Angular Gradle NoSQL
React Maven SQL
React Maven NoSQL
React Gradle SQL
React Gradle NoSQL
Vue Maven SQL
Vue Maven NoSQL
Vue Gradle SQL
Vue Gradle NoSQL
Elasticsearch
Monolith OAuth 2.0
No Database
Microservices JWT
Microservices OAuth 2.0
Docker Image
Official Windows

Analysis of the sample JHipster project

sonar-quality-gate sonar-coverage sonar-bugs sonar-vulnerabilities sonar-sample-code-smells-badge

generator-jhipster (jhipster/generator-jhipster)

Searching Database…

这是什么东西?一个开源的开发平台,用来快速生成、开发和部署现代 Web 应用和微服务架构:你回答它的提问,它就给你一套完整的前后端代码。
那我写代码时要依赖它作为框架吗,还是别的什么?它是一个在命令行运行的代码生成器,不是需要引入的框架:它基于 Yeoman,一次性帮你搭好项目骨架——后端是 Spring Boot,前端是 Angular、React 或 Vue——生成出来的代码就归你自己维护了。
怎么把它跑起来?先用 npm 全局安装('npm install -g generator-jhipster'),然后在一个空目录里运行 'jhipster',按提示回答问题即可;完整的安装文档在项目官网上。
我需要先装好什么?生成器本身需要 Node.js 22 或 24,以及 npm 10 或更新版本;它生成的应用面向 Java 21 或 25——这些 Java/Node 组合正是该项目持续集成测试所覆盖的版本。
它只能做单体应用,还是也支持微服务?两者都支持:除了单体应用,它还能搭建微服务架构,并且持续集成流水线会验证使用 JWT 或 OAuth 2.0 保护安全的微服务配置。
JHipster 到底是给谁用的?主要是 Java 开发者——README 的开场白就是 'Greetings, Java Hipster!'——他们想要一个 Spring Boot 后端加一个现代 JavaScript 前端,又不想什么都要自己手动搭。
它在 Windows 上能跑吗,还是只有 Mac 和 Linux 能用?凡是 Node.js 能运行的地方它都能运行——Windows、macOS 和 Linux 都行——项目甚至还专门维护着一条 'Official Windows' 持续集成流水线。
它支持哪些前端、构建工具和数据库的组合?日常持续集成覆盖了很广的矩阵:Angular、React 和 Vue 三种前端,各自都可以用 Maven 或 Gradle 构建,搭配 SQL 或 NoSQL 数据库——此外还有 Elasticsearch 集成,甚至提供不用数据库的选项。
它能部署自己生成的代码吗?能:它的持续集成会产出 Docker 镜像,Docker 和 Kubernetes 支持也是平台的核心部分,所以容器化和云端部署都是一等公民。
这个项目有多成熟、多活跃?非常成熟活跃:2013 年创建,GitHub 星标约 22,500 个,在 hipster-labs/jhipster-daily-builds 有额外的每日构建,示例应用在 SonarCloud 上有质量看板,还参加了 Hacktoberfest。
What are similar projects?angular-cli, yeoman, razzle, jib, create-t3-app, nx, mall-swarm, mitosis
Creator
jhipster
Size
195.1 MB
Stars
22.5K
Age
12y
Commits · 90 Days