6

jhipster8-demo:JHipster 8演示案例源码

 9 months ago
source link: https://www.jdon.com/70925.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

jhipster8-demo:JHipster 8演示案例源码

JHipster 8 有一些明亮而闪亮的新功能:即 Spring Boot 3.2、Angular 17、Vue 3 和 Java 21 支持。

对于您要创建的每个实体,您将需要:

  • 数据库表;
  • Liquibase 变更集;
  • JPA 实体类;
  • Spring DataJpaRepository 接口;
  • 一个 Spring MVC RestController 类;
  • Angular 列表组件、编辑组件、服务;和
  • 每个组件有几个 HTML 页面。

此外,您应该进行集成测试来验证一切是否正常,并进行性能测试来确认其运行速度是否很快。在理想的情况下,您还应该对 Angular 代码进行单元测试和集成测试。

 JHipster 可以为您生成所有这些代码,包括集成测试和性能测试。
如果您有具有关系的实体,它将创建必要的架构来支持它们(使用外键),并创建 TypeScript 和 HTML 代码来管理它们。您还可以设置验证以要求某些字段并控制其长度。

JHipster 支持多种代码生成方法。第一个使用其实体子生成器。实体子生成器是一个命令行工具,它会提示您回答问题。
JDL-Studio 是一个基于浏览器的工具,用于使用 JHipster 域语言 (JDL) 定义域模型。我喜欢 JDL-Studio 的视觉特性,因此我将在这个项目中使用它。

详细步骤点击标题。

此项目的源代码可在 GitHub 上获取:mraible/jhipster8-demo


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK