Welcome to Spring Boot Mastery - your comprehensive guide to learning Spring Boot annotations, patterns, and best practices. This repository contains 30+ hands-on projects with detailed documentation, covering everything from basic annotations to real-world applications.
- π Start Learning: Read
documentation/LEARNING_ROADMAP.md - π Navigate Projects: Check
documentation/PROJECT_INDEX.md - β‘ Quick Reference: Use
documentation/ANNOTATIONS_QUICK_REFERENCE.md - π Deep Dive: Study
documentation/SPRING_ANNOTATIONS_GUIDE.md
spring-boot-mastery/
βββ π 01-basic-annotations/ # Core Spring annotations
βββ π 02-configuration-projects/ # Configuration patterns
βββ π 03-dependency-injection/ # DI patterns and best practices
βββ π 04-data-persistence/ # JPA, Spring Data, databases
βββ π 05-web-applications/ # REST APIs, MVC, web projects
βββ π 06-real-world-projects/ # Complete business applications
βββ π 07-advanced-topics/ # Profiles, runners, advanced patterns
βββ π documentation/ # All learning materials
βββ π resources/ # PDFs, images, misc files
- Basic Annotations β
01-basic-annotations/ - Configuration β
02-configuration-projects/ - Dependency Injection β
03-dependency-injection/
- Data Layer β
04-data-persistence/ - Web Layer β
05-web-applications/
- Real Projects β
06-real-world-projects/ - Advanced Topics β
07-advanced-topics/
- β 30+ Complete Projects - From basics to production-ready applications
- β Progressive Learning - Structured curriculum with clear progression
- β Comprehensive Documentation - 50+ annotations explained in detail
- β Best Practices - Industry-standard patterns and conventions
- β Real-World Examples - Healthcare, booking, user management systems
- β Testing Strategies - Complete testing examples and patterns
- β Quick Reference - Cheat sheets for rapid development
| Category | Technologies |
|---|---|
| Core | Spring Boot 3.4.4, Spring Framework 6, Java 21 |
| Data | Spring Data JPA, Hibernate, H2, MySQL, MongoDB |
| Web | Spring MVC, REST APIs, Thymeleaf, React integration |
| Testing | JUnit 5, Mockito, TestContainers, Spring Boot Test |
| Tools | Maven, Gradle, Git, Docker (examples) |
| Type | Count | Examples |
|---|---|---|
| Core | 8 | @Component, @Service, @Repository, @Controller |
| DI | 6 | @Autowired, @Qualifier, @Primary, @Value |
| Configuration | 10 | @Configuration, @Bean, @ConfigurationProperties |
| Web | 12 | @RestController, @RequestMapping, @PathVariable |
| Data | 15 | @Entity, @Repository, @Transactional, @Query |
| Testing | 8 | @SpringBootTest, @MockBean, @DataJpaTest |
| Advanced | 10+ | @Profile, @Conditional, @EventListener |
- π Students learning Spring Boot
- π©βπ» Developers transitioning to Spring ecosystem
- π« Educators teaching Spring Boot courses
- π Self-learners wanting structured progression
- πΌ Interview prep for Spring Boot positions
- π Reference during development
- Java 21+ installed
- Maven 3.6+ or Gradle 7+
- IDE (IntelliJ IDEA, Eclipse, VS Code)
- Basic Java knowledge
# Navigate to any project
cd 01-basic-annotations/Annotationdemo
# Run with Maven
./mvnw spring-boot:run
# Or with Gradle
./gradlew bootRun| Document | Purpose |
|---|---|
| Learning Roadmap | 12-week structured learning path |
| Project Index | Complete project navigation |
| Annotations Guide | Detailed annotation explanations |
| Quick Reference | Cheat sheet for developers |
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
If this repository helps you learn Spring Boot, please give it a star! β
- Author: AryanDevCodes
- Repository: spring-boot-mastery
Happy Learning! π
Start your Spring Boot journey today with hands-on projects and comprehensive documentation.