spring-boot-examples README

The project's README from github.com/ityouknow/spring-boot-examples. As one markdown file: README.md.

Spring Boot 学习示例

Spring Boot 2.0 Mysql 5.6 JDK 1.8 Maven license

Spring Boot 使用的各种示例,以最简单、最实用为标准,此开源项目中的每个示例都以最小依赖,最简单为标准,帮助初学者快速掌握 Spring Boot 各组件的使用。

Spring Boot 中文索引  |   Spring Cloud学习示例代码  |   Spring Boot 精品课程

Github地址  |   码云地址  |   Spring Boot 1.X |   Spring Boot 2.X


本项目中所有示例均已经更新到 Spring Boot 3.0

示例代码

如果大家想了解关于 Spring Boot 的其它方面应用,也可以以issues的形式反馈给我,我后续来完善。

关注公众号:纯洁的微笑,回复"666"进群交流

spring-boot-examples (ityouknow/spring-boot-examples)

spring
Searching Database…

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.
Creator
ityouknow
Size
1 MB
Stars
30.5K
Updated
CommitDec 29
Age
9y
Commits · 90 Days