spring-boot-examples is a collection of small, runnable projects that teach Spring Boot “by example,” emphasizing minimal dependencies and practical, copy-pasteable patterns. The repository provides multiple standalone demos (e.g., web, scheduling, persistence, messaging, caching, Docker) to help beginners quickly grasp common components and idioms. The author notes that all examples have been updated to Spring Boot 3.0, with earlier 1.x and 2.x code paths kept accessible for reference. Each sample focuses on a single topic—such as Web MVC, WebFlux, Thymeleaf, JPA/MyBatis CRUD, file upload, Redis/MongoDB, RabbitMQ, and containerization—so you can learn one concept at a time and compose them later. There are also demos for testing, packaging (JAR/WAR), and Docker Compose scenarios that combine Spring Boot with Nginx and MySQL. If you want additional topics covered, the maintainer invites requests via issues so the set can keep growing with the community’s needs.
Features
- Multiple demo projects covering Spring Boot modules
- Database integrations (MySQL, MongoDB, Redis, etc.)
- Web development examples with MVC and WebFlux
- Messaging demos with RabbitMQ
- Template engine support (Thymeleaf)
- Docker + deployment examples