// the find
timebusker/spring-boot
spring-boot 项目实践总结
A collection of 23 self-contained Spring Boot example modules, each demonstrating one integration — MyBatis, Redis, Spring Security, Swagger2, async tasks, and so on. Written in Chinese, aimed at developers learning Spring Boot by example rather than reading the official docs.
Each module is genuinely isolated with its own pom.xml and properties files, so you can clone one folder and run it without dragging in unrelated dependencies. The coverage is broad enough to be a useful reference when you forget how to wire up, say, Druid with MyBatis or configure a custom Spring Security filter chain. The multi-datasource module (21) and custom Starter module (19) are more useful than typical tutorial fare — those come up in real projects and aren't well-documented in English. Tests exist in several modules and actually exercise the persistence layer rather than just mocking everything.
Last commit was October 2022 and targets an old Spring Boot 2.x lineage — nothing here applies cleanly to Spring Boot 3.x, which dropped support for javax.* in favor of jakarta.*, so any import you copy will need updating. Swagger2 (module 12) is dead upstream; it was replaced by springdoc-openapi years ago and the Swagger2 artifact causes dependency hell on newer Spring versions. The README is entirely in Chinese with no English translation, which limits its audience. There are no integration tests that spin up a real database or cache — the tests that exist use H2 in-memory, which hides the configuration differences that bite you in production.