Backend Development: Spring Boot
Enterprise Java from zero to production: REST APIs, microservices, and cloud deployment
What you'll be able to do
- Build robust REST APIs with Spring Boot
- Persist data with Spring Data JPA
- Secure services with Spring Security
- Test and deploy an enterprise-grade backend
Before you start
- Basic Java syntax
- Object-oriented programming fundamentals
- Comfort using a terminal and an IDE
Level 1 ·Java & OOP Foundations
Java Core
Variables, types, control flow, OOP (classes, inheritance, polymorphism, interfaces), collections, streams, lambdas, and Java 21+ features.
- JetBrains Academy: Java Developer Track (free trial)coursefree
- Baeldung: Java Tutorials (free)articlefree
- Cay Horstmann: Core Java Vol 1 (book)coursepaid
- Generics and bounded wildcards
- Collections: ArrayList, HashMap, LinkedHashMap
- Functional: Stream API, lambda, method references
- Java 21: records, sealed classes, pattern matching
Build Tools: Maven & Gradle
Project structure, dependency management, build lifecycle, plugins, and multi-module projects.
- Maven Getting Started Guide (official)docfree
- Gradle User Manualdocfree
- Multi-module Maven project
- Gradle build with custom tasks
- Dependency scopes: compile vs test vs provided
Git, Docker & Dev Environment
Git branching strategies, Docker for local dev, IntelliJ IDEA setup, and code quality tools (Checkstyle, SpotBugs).
- Pro Git (free book)docfree
- Docker Official Docsdocfree
- Conventional commits + PR workflow
- Dockerfile for a Java app
- Docker Compose: app + PostgreSQL
Level 2 ·Spring Boot Core
Spring Boot & Spring Framework
IoC container, dependency injection, auto-configuration, Spring Boot starters, profiles, properties, and actuator.
- Spring Boot Official Docsdocfree
- Spring Boot in Practice (Manning)coursepaid
- Baeldung: Spring Boot Seriesarticlefree
- Spring context: @Component, @Service, @Repository
- Constructor injection vs field injection
- Profiles: dev vs prod configuration
- Actuator: health, metrics, info endpoints
REST APIs with Spring MVC
@RestController, @RequestMapping, request/response DTOs, validation (@Valid, Hibernate Validator), exception handling (@ControllerAdvice), and OpenAPI/Swagger.
- Spring Web MVC Docsdocfree
- Baeldung: REST with Spring Tutorialarticlefree
- OpenAPI / springdoc-openapi Docsdocfree
- CRUD API: User resource with all 5 verbs
- Global exception handler: consistent error body
- Request validation with @Valid + custom constraints
- Swagger UI auto-generated from annotations
Spring Data JPA & PostgreSQL
JPA entities, repositories, JPQL, native queries, pagination, transactions, N+1 problem, and database migrations with Flyway.
- Spring Data JPA Docsdocfree
- Flyway Docsdocfree
- Vlad Mihalcea: High-Performance Java Persistence (book)coursepaid
- OneToMany + ManyToMany entity mapping
- Flyway migration: baseline + V1__init.sql
- Pagination with Pageable
- Solve N+1 with @EntityGraph or JOIN FETCH
Spring Security & JWT Auth
Spring Security filter chain, authentication, authorization (RBAC), JWT tokens, OAuth2 resource server, CSRF, and CORS configuration.
- Spring Security Reference (official)docfree
- Baeldung: Spring Security (series)articlefree
- JWT sign + verify + refresh token flow
- Method security: @PreAuthorize roles
- CORS: allow frontend origin
- OAuth2: login with Google
Level 3 ·Testing, Microservices & Production
Testing Spring Boot: Unit to Integration
JUnit 5, Mockito, @SpringBootTest, @WebMvcTest, @DataJpaTest, TestContainers for real DB tests, and WireMock for external service mocking.
- JUnit 5 User Guidedocfree
- Testcontainers for Java Docsdocfree
- Baeldung: Testing in Spring Bootarticlefree
- Service layer: unit test with Mockito
- @WebMvcTest: controller slice test
- Integration test: Testcontainers PostgreSQL
- >80% coverage on service + controller layers
Spring Boot Microservices
Service decomposition, Spring Cloud (Eureka, Config Server, Gateway, Feign), resilience (Resilience4j), and event-driven inter-service communication with Kafka.
- Service registry with Eureka
- API gateway routing + rate limiting
- Circuit breaker with Resilience4j
- Async communication via Kafka
Observability & Production Deployment
Spring Boot Actuator + Micrometer, Prometheus metrics, Grafana dashboards, structured logging with Logback, Docker containerisation, and Kubernetes deployment.
- Spring Boot Actuator Docsdocfree
- Micrometer Docsdocfree
- Expose custom Micrometer metric
- Grafana dashboard: JVM heap, request rate, errors
- Multi-stage Dockerfile: build + runtime JRE
- Deploy to Kubernetes with ConfigMap + Secret
Frequently asked
Is the Backend Development: Spring Boot roadmap free?+
Yes. The entire Backend Development: Spring Boot roadmap and every curated resource is free to follow on Commit. You can track your progress, keep a daily streak, and earn a shareable certificate at no cost — there is no paywall.
How long does the Backend Development: Spring Boot roadmap take to complete?+
About 155 hours of focused study across 10 courses and 3 stages. At roughly one hour a day that is about 6 months; you can move faster by studying more each day.
Do I get a certificate for finishing the Backend Development: Spring Boot roadmap?+
Yes. When you complete the roadmap on Commit you receive a verifiable certificate of completion that you can add to LinkedIn and your public Commit profile as proof of what you finished.
Related roadmaps
Make it stick
Copy this roadmap into Commit and turn it into a tracked program with a streak graph, study logging, and a shareable certificate when you finish. Free forever.
Start Backend Development: Spring Boot free