Spring Boot Course
Production-grade backend engineering with Spring Boot, microservices & cloud.
Architecture
HTTP Request Lifecycle
From client request to database and back, through Spring's filter chain, controller, service and JPA layers.
Enterprise learning path
Fundamentals
- 1Spring Boot HomeNext up
Welcome to the Spring Boot Backend Engineering track on TechLearningPRO — a complete, production-grade roadmap from your first @RestController to designing microservices that ha…
- 2Spring Boot Introduction
Spring Boot is an opinionated layer on top of the Spring Framework that removes 90% of the boilerplate Spring used to require.
- 3Spring Boot Architecture
A Spring Boot app is layered: the web layer handles HTTP, the service layer owns business rules, the repository layer talks to the database, and configuration wires it together.
- 4Spring Boot Installation
Before writing your first endpoint you need three things: a JDK, a build tool (Maven or Gradle ships with starters), and an IDE.
- 5Spring Initializr
Spring Initializr (start.spring.io) is the official project generator.
- 6Project Structure
A standard Spring Boot project follows a Maven layout.
- 7First Application
Let's build, run and hit your first Spring Boot endpoint.
- 8Dependency Injection
Dependency Injection (DI) is Spring's superpower.
- 9Beans & IoC Container
A Spring bean is any object Spring manages.
- 10Configuration
Configuration is how an app behaves differently in dev, staging and prod without code changes.
- 11application.properties & YAML
application.properties and application.yml are interchangeable formats for Spring Boot configuration.
- 12Spring Boot Annotations
Annotations are how you talk to Spring.
- 13Controllers
Controllers map HTTP requests to Java methods.
- 14Request Mapping
Spring offers fine-grained mapping by URL, HTTP method, headers, content type and query params.
- 15Path Variables & Request Params
Two ways data flows into a controller: path variables identify a resource (/orders/42), query params filter or paginate (?status=PAID&page=1).
- 16REST API Basics
REST (Representational State Transfer) is a set of conventions for building HTTP APIs around resources.
- 17CRUD API Development
Time to ship a real CRUD API: Create, Read, Update, Delete for a Product resource — the workhorse pattern of every backend job interview.
- 18JSON Handling
Spring Boot ships with Jackson for JSON.
- 19ResponseEntity
ResponseEntity<T> gives you full control over the HTTP response: status, headers, body.
- 20DTO Design
DTOs (Data Transfer Objects) are the shapes you expose at API boundaries.
- 21Exception Handling
Centralised exception handling turns scattered try/catch into a single, consistent error contract.
- 22Validation
Bean Validation (Jakarta Validation) declares constraints on DTO fields and Spring enforces them automatically when you add @Valid.
- 23Logging Basics
Spring Boot uses SLF4J as the API and Logback as the default implementation.
Database Development
- 24Introduction to Databases
Every backend stores state somewhere.
- 25MySQL Integration
MySQL is the most-deployed open-source SQL database.
- 26PostgreSQL Integration
PostgreSQL is the database of choice for serious backends in 2026: JSONB, full-text search, partitioning, generated columns, array types, robust replication.
- 27Spring Data JPA
Spring Data JPA turns repository interfaces into runtime implementations.
- 28Hibernate Basics
Hibernate is the default JPA provider Spring Boot ships with.
- 29Entity Mapping
Entities are Java classes annotated with @Entity that map 1-to-1 to database tables.
- 30Entity Relationships
Relationships model how entities reference each other.
- 31JPQL
JPQL (Java Persistence Query Language) looks like SQL but operates on entities and fields, not tables and columns.
- 32Native Queries
When JPQL can't express what you need (Postgres-specific JSON ops, CTEs, window functions), drop to native SQL with nativeQuery = true.
- 33Pagination & Sorting
Returning unbounded result sets is how junior backends become production incidents.
- 34Transactions
@Transactional wraps a method in a database transaction: all writes commit together or roll back together.
- 35Database Optimization
Backends die at the database first.
- 36Repository Pattern
The Repository pattern abstracts persistence behind an interface.
- 37Service Layer Architecture
The service layer owns business rules.
Security
- 38Spring Security Introduction
Spring Security is the standard for authentication and authorization on the JVM.
- 39Authentication
Authentication answers who are you?.
- 40Authorization
Authorization answers what are you allowed to do?.
- 41JWT Authentication
JWT (JSON Web Token) is a signed, self-contained credential the client sends with every request.
- 42Refresh Tokens
Access tokens are short-lived (15–60 min).
- 43Role-Based Access Control
RBAC = permissions tied to roles, roles tied to users.
- 44Password Encryption
Never store passwords in plaintext.
- 45Security Filters
Spring Security is a filter chain.
- 46OAuth2 Basics
OAuth 2.0 is the standard for delegated authorization: "let users sign in with Google / GitHub without you holding their password." OpenID Connect (OIDC) adds an identity layer…
- 47Secure REST APIs
Securing a REST API is more than authentication.
- 48API Protection Strategies
Beyond auth, production APIs need protection against abuse, replay, scraping and accidental DDoS — even from your own clients.
- 49Session vs Token Auth
Two paradigms, one decision: server-side sessions (cookie ↔ session in Redis) vs self-contained tokens (JWT, no server state).
Advanced Spring Boot
- 50Spring Boot Profiles
Profiles let one binary behave differently per environment.
- 51Environment Configuration
12-factor apps configure via the environment.
- 52File Upload & Storage
Uploads are easy to do wrong.
- 53Email Services
Don't run your own SMTP.
- 54Scheduling Tasks
@Scheduled runs methods on a cron or fixed-rate schedule.
- 55Async Processing
Some work shouldn't block the request: sending emails, generating thumbnails, calling slow third parties.
- 56Caching with Redis
Redis is the universal cache: sub-millisecond reads, tiny footprint, perfect for hot reads, session storage, rate limiting and pub/sub.
- 57WebSockets
WebSockets give you persistent, bidirectional connections — the right tool for chat, live dashboards, notifications.
- 58Kafka Messaging
Apache Kafka is the durable, partitioned log behind every event-driven enterprise.
- 59Event-Driven Architecture
Event-Driven Architecture (EDA) replaces synchronous calls between services with events on a log.
- 60API Gateway
An API Gateway is a single front door for all your microservices: routing, auth, rate-limiting, request rewriting, observability.
- 61Rate Limiting
Rate limiting protects your service from abuse, runaway clients, and the occasional internal bug-loop.
- 62Monitoring & Logging
You can't fix what you can't see.
- 63Performance Optimization
Optimisation order matters: measure, then change.
Testing
Microservices Architecture
- 66Introduction to Microservices
Microservices split one big app into many small ones, each owning a bounded slice of business capability.
- 67Monolith vs Microservices
Monolith: one process, one DB, one deployment.
- 68Service Discovery / Eureka
In a microservices world, services come and go.
- 69API Gateway (Microservices)
In microservices, the gateway is even more critical: clients should talk to one URL while you reorganise services freely behind it.
- 70Config Server
Spring Cloud Config Server centralises configuration for all your services in a Git repo.
- 71Circuit Breaker
When a downstream service is failing, hammering it makes everything worse.
- 72Distributed Tracing
When a request hops 5 services, logs alone won't tell you where the latency went.
- 73Inter-Service Communication
Services talk via HTTP, gRPC, or async messaging.
- 74Docker for Microservices
Each microservice ships as a Docker image.
- 75Kubernetes Basics
Kubernetes orchestrates containers across machines: scheduling, scaling, healing, networking, config.
- 76Cloud Deployment
Once containerised, deploying is a choice of platform: AWS ECS / EKS, GCP GKE / Cloud Run, Azure AKS, or simpler PaaS like Render / Railway / Fly.io.
Production & DevOps
- 77Docker Fundamentals
Docker packages your app + its runtime into an immutable image that runs the same on every machine.
- 78Dockerizing Spring Boot Apps
Three good ways to containerise Spring Boot, in order of preference: buildpacks, Jib, hand-written Dockerfile.
- 79CI/CD Pipelines
CI/CD automates the path from commit to production: build, test, scan, push image, deploy.
- 80GitHub Actions
GitHub Actions is the default CI for most Spring Boot teams in 2026: free for public repos, native to GitHub, huge action marketplace.
- 81Jenkins Basics
Jenkins is the legacy CI workhorse — still everywhere in enterprises.
- 82AWS Deployment
AWS hosts more Spring Boot apps in production than any other cloud.
- 83Railway / Render Deployment
For side projects and startups, Railway, Render, Fly.io remove 95% of cloud ceremony.
- 84Production Logging
Production logs are read by machines: a JSON log shape, shipped to Loki / CloudWatch / Datadog, queryable by trace ID.
- 85Monitoring Tools
The de-facto monitoring stacks in 2026: Prometheus + Grafana + Loki + Tempo (self-hosted), Datadog / New Relic / Honeycomb (SaaS).
- 86Scaling Backend Systems
Scaling isn't more servers — it's removing the bottleneck.
- 87Environment Variables
Twelve-factor app rule #3: store config in the environment.
- 88Production Security
Production-grade security is layered.
- 89Performance Engineering
Performance engineering is a discipline: define SLOs, measure under load, fix the hottest path, repeat.
Enterprise Backend Engineering
- 90Clean Architecture
Clean Architecture (Uncle Bob) puts the business core at the centre and pushes frameworks, DBs and HTTP to the outside.
- 91Layered Architecture
Layered architecture is the pragmatic, Spring-shaped flavour of clean architecture: Controller → Service → Repository → DB.
- 92Domain-Driven Design
DDD is the playbook for complex domains: identify bounded contexts, model aggregates with strong invariants, communicate via events.
- 93Backend Design Patterns
A short list of patterns you'll meet weekly in real Spring Boot codebases.
- 94Enterprise API Design
Enterprise APIs are contracts that outlast their authors.
- 95Scalable Backend Systems
Scalable systems are built on a few invariants: stateless services, shared-nothing data, async where possible, observable everywhere.
- 96High Availability
HA is about surviving failures invisibly.
- 97System Design Basics
System design interviews and real-world architecture share the same vocabulary: load estimates, data modelling, storage choice, caching, scaling, consistency.
- 98Optimization Strategies
A condensed, repeatable optimisation playbook used at Netflix, Stripe and Shopify.
- 99Enterprise Security Practices
Enterprises hold regulators, auditors and red teams to a higher bar than startups.
- 100Real Production Folder Structure
How serious teams organise a Spring Boot service.
Practice & Evaluation
- 101Spring Boot Exercises
Hands-on exercises to cement what you've learned.
- 102REST API Challenges
Sharpen your API design skills with these scenarios.
- 103Backend Debugging Tasks
Debugging is the highest-leverage skill in backend engineering.
- 104Database Challenges
Database mastery separates senior from junior backend engineers.
- 105Authentication Challenges
Authentication is where mistakes are public and expensive.
- 106Architecture Challenges
Stretch your architecture muscles with these whiteboard-style problems.
- 107Spring Boot Quiz
Twenty rapid-fire questions across the course.
- 108Backend Interview Questions
A curated bank of senior backend interview questions across Spring Boot, system design and behavioural rounds.
- 109Mock Backend Projects
End-to-end portfolio projects modelled on what real backend teams ship in their first year.
- 110Enterprise Case Studies
Read how the world's most demanding backends are actually built.