30.5K ·GitHub
What is this?
A collection of small, standalone Spring Boot 3.0 example projects covering common integrations like web, WebFlux, JPA, MyBatis, RabbitMQ, MongoDB, Redis, mail, file upload, and Docker.
Is this one app or a bunch of separate example modules?
It is a bunch of separate, self-contained Maven modules, each dedicated to one Spring Boot feature or integration (e.g., spring-boot-mail, spring-boot-mongodb, spring-boot-docker).
How do I run one of these examples?
Clone the repo and open the specific module you need (e.g., spring-boot-web or spring-boot-mybatis) as its own Maven project, then run it directly.
Do I need anything besides Java to run these modules?
Core requirement is a JDK and Maven; individual modules also need the service they demonstrate, such as MySQL, MongoDB, RabbitMQ, Redis, Memcached, or Docker.
Does one module cover everything, or do I need to combine several myself?
No, each module only demonstrates a single technology in isolation (except the Docker Compose example), so you have to copy/adapt the relevant parts if you want to combine features in your own project.
Which Spring Boot version do these examples target?
All examples in this repo have been updated to Spring Boot 3.0; separate linked repos cover the older Spring Boot 1.X and 2.X series.
Is there a Spring Cloud version of these examples too?
Yes, there is a companion 'Spring Cloud 学习示例代码' repo linked from the README for Spring Cloud-specific examples.
Where can I ask questions or request new examples?
The author invites readers to open GitHub issues for additional topics, or join a WeChat discussion group via the linked public account.
What does the Docker example actually demonstrate?
One module shows a full Docker Compose stack combining Spring Boot, Nginx, and MySQL, in addition to a simpler standalone Docker example.
What are similar projects?
mall, mall-swarm, mall-learning, SpringBoot-Labs, newbee-mall, SpringAll, SpringBoot-Learning, JeecgBoot
Which topics is it in?
springcloud, file-upload, rabbitmq, mybatis, springboot, spring-cloud, message-queue, spring, scheduler, spring-boot, nosql, orm
