Spring Boot learning examples
The various examples used by Spring Boot are based on the simplest and most practical standards. Each example in this open source project is based on the smallest dependencies and the simplest standards, helping beginners quickly master the use of Spring Boot components.
Spring Boot Chinese Index | Spring Cloud Learning Sample Code | Spring Boot Premium Courses
Github address | Code cloud address | Spring Boot 1.X | Spring Boot 2.X
All examples in this project have been updated to Spring Boot 3.0
- For Spring Boot 1.X series sample code, please see here: Spring Boot 1.X
- For Spring Boot 2.X series sample code, please see here: Spring Boot 2.X
Sample code
- spring-boot-hello: Spring Boot 3.0 Hello World example
- spring-boot-banner: Spring Boot 3.0 custom banner example
- spring-boot-helloworld: Spring Boot 3.0 Hello World Test unit test example
- spring-boot-scheduler: Spring Boot 3.0 scheduled task scheduler usage example
- spring-boot-package: Spring Boot 3.0 unit testing, integration testing, Jar/War packaging, custom startup parameter use cases
- spring-boot-commandLineRunner: Initialize resource case when Spring Boot 3.0 project starts
- spring-boot-web: Spring Boot 3.0 web example
- spring-boot-webflux: Spring Boot 3.0 reactive programming WebFlux use case
- spring-boot-file-upload: Spring Boot 3.0 upload file use case
- spring-boot-thymeleaf: Spring Boot 3.0 Thymeleaf syntax and layout usage examples
- spring-boot-jpa: Spring Boot 3.0 Jpa operation, addition, deletion, modification and query usage examples of multiple data sources
- spring-boot-mybatis: Spring Boot 3.0 Mybatis annotations, xml usage, addition, deletion, modification, and multi-data source usage examples
- spring-boot-web-thymeleaf: Spring Boot 3.0 thymeleaf addition and deletion of this query example
- spring-boot-jpa-thymeleaf-curd: Spring Boot 3.0 Jpa thymeleaf list, add, delete, modify and check use cases
- spring-boot-mail: Spring Boot 3.0 email sending usage example
- spring-boot-rabbitmq: Spring Boot 3.0 RabbitMQ usage examples in various common scenarios
- spring-boot-mongodb: Spring Boot 3.0 MongoDB addition, deletion, modification and query example multiple data source use case
- spring-boot-redis: Spring Boot 3.0 Redis example
- spring-boot-memcache-spymemcached: Spring Boot 3.0 integrated Memcached use case
- spring-boot-docker: Spring Boot 3.0 Docker use case
- dockercompose-springboot-mysql-nginx: Spring Boot 3.0 Docker Compose + Spring Boot + Nginx + Mysql use case
If you want to know about other aspects of Spring Boot applications, you can also give me feedback in the form of issues, and I will improve it later.
Follow the public account: Pure Smile, reply "666" to join the group communication