jhipster【Monolithic application 】创建项目之初要考虑(应用名称、default Java package name)项目的技术架构。
下面的选项中就是在生成项目时的选项。
一、后端技术
1.1您想要创建哪种类型的应用程序?
应用类型:
- Monolithic application (recommended for simple projjects)
- Microservice application
- Microservice gateway
- JHipster UAA server (for picroservice OAuth2 authentication)
1.2您想使用Maven或Gradle构建后端吗? Maven
- Maven
- Gradle
1.3您要使用哪种类型的身份验证? OAuth 2.0/OIDC身份验证(有状态,适用于Keycloak和Okta)
认证类型:
- JWT authentication (stateless, with a token)
- HTTP Session Authentication (stateful, default Spring Security mechanism)
- Auth 2.0/ OIDC Authentication (stateful, works with Ke ycloak and Okta)
1.4您要使用哪种类型的数据库? SQL(H2,MySQL,MariaDB,PostgreSQL,Oracle,MSSQL)
-
SQL (H2, MySQL, MariaDB, PostgresQL, Oracle, MSSQL)
您想使用哪个 production 数据库? MySQL
MysQL / MariaDB / PostgreSQL / Oracle (Please follow our documentation to use the Oracle proprietaru driuer) / Microsoft SQL Server
您想使用哪个 development 数据库? H2具有基于磁盘的持久性
H2 with disk-based persistence / H2 with in-memory persistence / MysQL
-
Mongo DB
-
Cassandra
-
Couchbase
-
No database
二、缓存技术
2.1您想使用Spring缓存抽象吗?是的,使用Ehcache实现(本地缓存,用于单个节点)
- Yes, with the Ehcache implementation (local cache, for a single node)
- Yes, with the Hazelcast implementation (distributed cache, for multiple nodes, supports rate-limiting for gateway applications)
- [BETA] Yes, with the Infinispan implenentation (hybrid cache, for multiple nodes)
- Yes, with Memcached (distributed cache)-Warning, when using an sQL database, this will disable the Hibernate 2nd level cache!
- No - Warning, when using an SQL database, this will disable the Hibernate 2nd level cache!
2.2你想使用Hibernate二级缓存吗?是
- Yes
- No
三、测试(包括监控应用)
3.1除了JUnit和Jest之外,您还想使用哪些测试框架?
- Gatling
- Cucumbe
- Protractor
3.2您是否想使用JHipster Registry来配置,监控和扩展您的应用程序?不
- NO [当选择NO时,在下一步程序引导中会增加一个选择认证方式的引导程序 1.3]
- Yes [不会有引导程序]
四、前端技术
4.1您想要启用国际化支持吗?是
请选择应用程序的母语:中文(简体)
请选择其他语言来安装 :英语
4.2 您想为客户使用哪种 前端框架 *? react/angrala
- Angular
- React
- No client
4.3你想使用Bootswatch主题(https://bootswatch.com/)吗?Lumen
4.4选择Bootswatch变体导航栏主题(https://bootswatch.com/)?Primary
五、其他
5.1您还想使用哪些其他技术?使用Elasticsearch的搜索引擎
- Search engine using Elasticsearch
- WebSockets us ing Spring Websocket
- Asynchronous messages using Apache Kafka
- API first development using OpenAPI-generator
您想从JHipster Marketplace安装其他生成器吗?不