spring-boot-skill

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Spring Boot Skill

Spring Boot 技能指南

Apply the practices below when developing Spring Boot applications. Read the linked reference only when working on that area.
开发Spring Boot应用程序时,请遵循以下实践。仅在处理对应领域的工作时阅读链接的参考文档。

Package structure

包结构

Read references/code-organization.md for domain-driven, module-based package layout and naming conventions.
如需了解领域驱动、基于模块的包布局和命名规范,请阅读references/code-organization.md

Spring Data JPA

Spring Data JPA

Implement the repository and entity layer using references/spring-data-jpa.md.
请使用references/spring-data-jpa.md实现仓库和实体层。

Service layer

服务层

Implement business logic in the service layer using references/spring-service-layer.md.
请使用references/spring-service-layer.md在服务层实现业务逻辑。

Spring MVC REST APIs

Spring MVC REST APIs

Implement REST APIs with Spring MVC using references/spring-webmvc-rest-api.md.
请使用references/spring-webmvc-rest-api.md通过Spring MVC实现REST API。

Spring Modulith

Spring Modulith

Build a modular monolith with Spring Modulith using references/spring-modulith.md.
请使用references/spring-modulith.md借助Spring Modulith构建模块化单体应用。

REST API testing

REST API测试

Test Spring Boot REST APIs using references/spring-boot-rest-api-testing.md.
请使用references/spring-boot-rest-api-testing.md测试Spring Boot REST API。