springboot

    Spring Boot Course

    Production-grade backend engineering with Spring Boot, microservices & cloud.

    110
    Lessons
    9
    Modules
    0/110
    Completed

    Architecture

    HTTP Request Lifecycle

    From client request to database and back, through Spring's filter chain, controller, service and JPA layers.

    Client
    HTTP
    Filter Chain
    Security
    Dispatcher
    Servlet
    Controller
    @RestController
    Service
    @Service
    Repository
    JPA
    Database
    Postgres
    JWT Auth
    Bearer token validation
    Tx Manager
    @Transactional
    Bean Container
    DI & lifecycle
    Actuator
    Health & metrics
    Curriculum

    Enterprise learning path

    9 modules · 110 lessons

    Fundamentals

    0/23 complete
    1. 1
      Spring Boot Home
      Next 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…

    2. 2
      Spring Boot Introduction

      Spring Boot is an opinionated layer on top of the Spring Framework that removes 90% of the boilerplate Spring used to require.

    3. 3
      Spring 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.

    4. 4
      Spring 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.

    5. 5
      Spring Initializr

      Spring Initializr (start.spring.io) is the official project generator.

    6. 6
      Project Structure

      A standard Spring Boot project follows a Maven layout.

    7. 7
      First Application

      Let's build, run and hit your first Spring Boot endpoint.

    8. 8
      Dependency Injection

      Dependency Injection (DI) is Spring's superpower.

    9. 9
      Beans & IoC Container

      A Spring bean is any object Spring manages.

    10. 10
      Configuration

      Configuration is how an app behaves differently in dev, staging and prod without code changes.

    11. 11
      application.properties & YAML

      application.properties and application.yml are interchangeable formats for Spring Boot configuration.

    12. 12
      Spring Boot Annotations

      Annotations are how you talk to Spring.

    13. 13
      Controllers

      Controllers map HTTP requests to Java methods.

    14. 14
      Request Mapping

      Spring offers fine-grained mapping by URL, HTTP method, headers, content type and query params.

    15. 15
      Path 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).

    16. 16
      REST API Basics

      REST (Representational State Transfer) is a set of conventions for building HTTP APIs around resources.

    17. 17
      CRUD 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.

    18. 18
      JSON Handling

      Spring Boot ships with Jackson for JSON.

    19. 19
      ResponseEntity

      ResponseEntity<T> gives you full control over the HTTP response: status, headers, body.

    20. 20
      DTO Design

      DTOs (Data Transfer Objects) are the shapes you expose at API boundaries.

    21. 21
      Exception Handling

      Centralised exception handling turns scattered try/catch into a single, consistent error contract.

    22. 22
      Validation

      Bean Validation (Jakarta Validation) declares constraints on DTO fields and Spring enforces them automatically when you add @Valid.

    23. 23
      Logging Basics

      Spring Boot uses SLF4J as the API and Logback as the default implementation.

    Database Development

    0/14 complete
    1. 24
      Introduction to Databases

      Every backend stores state somewhere.

    2. 25
      MySQL Integration

      MySQL is the most-deployed open-source SQL database.

    3. 26
      PostgreSQL Integration

      PostgreSQL is the database of choice for serious backends in 2026: JSONB, full-text search, partitioning, generated columns, array types, robust replication.

    4. 27
      Spring Data JPA

      Spring Data JPA turns repository interfaces into runtime implementations.

    5. 28
      Hibernate Basics

      Hibernate is the default JPA provider Spring Boot ships with.

    6. 29
      Entity Mapping

      Entities are Java classes annotated with @Entity that map 1-to-1 to database tables.

    7. 30
      Entity Relationships

      Relationships model how entities reference each other.

    8. 31
      JPQL

      JPQL (Java Persistence Query Language) looks like SQL but operates on entities and fields, not tables and columns.

    9. 32
      Native Queries

      When JPQL can't express what you need (Postgres-specific JSON ops, CTEs, window functions), drop to native SQL with nativeQuery = true.

    10. 33
      Pagination & Sorting

      Returning unbounded result sets is how junior backends become production incidents.

    11. 34
      Transactions

      @Transactional wraps a method in a database transaction: all writes commit together or roll back together.

    12. 35
      Database Optimization

      Backends die at the database first.

    13. 36
      Repository Pattern

      The Repository pattern abstracts persistence behind an interface.

    14. 37
      Service Layer Architecture

      The service layer owns business rules.

    Security

    0/12 complete
    1. 38
      Spring Security Introduction

      Spring Security is the standard for authentication and authorization on the JVM.

    2. 39
      Authentication

      Authentication answers who are you?.

    3. 40
      Authorization

      Authorization answers what are you allowed to do?.

    4. 41
      JWT Authentication

      JWT (JSON Web Token) is a signed, self-contained credential the client sends with every request.

    5. 42
      Refresh Tokens

      Access tokens are short-lived (15–60 min).

    6. 43
      Role-Based Access Control

      RBAC = permissions tied to roles, roles tied to users.

    7. 44
      Password Encryption

      Never store passwords in plaintext.

    8. 45
      Security Filters

      Spring Security is a filter chain.

    9. 46
      OAuth2 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…

    10. 47
      Secure REST APIs

      Securing a REST API is more than authentication.

    11. 48
      API Protection Strategies

      Beyond auth, production APIs need protection against abuse, replay, scraping and accidental DDoS — even from your own clients.

    12. 49
      Session 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

    0/14 complete
    1. 50
      Spring Boot Profiles

      Profiles let one binary behave differently per environment.

    2. 51
      Environment Configuration

      12-factor apps configure via the environment.

    3. 52
      File Upload & Storage

      Uploads are easy to do wrong.

    4. 53
      Email Services

      Don't run your own SMTP.

    5. 54
      Scheduling Tasks

      @Scheduled runs methods on a cron or fixed-rate schedule.

    6. 55
      Async Processing

      Some work shouldn't block the request: sending emails, generating thumbnails, calling slow third parties.

    7. 56
      Caching with Redis

      Redis is the universal cache: sub-millisecond reads, tiny footprint, perfect for hot reads, session storage, rate limiting and pub/sub.

    8. 57
      WebSockets

      WebSockets give you persistent, bidirectional connections — the right tool for chat, live dashboards, notifications.

    9. 58
      Kafka Messaging

      Apache Kafka is the durable, partitioned log behind every event-driven enterprise.

    10. 59
      Event-Driven Architecture

      Event-Driven Architecture (EDA) replaces synchronous calls between services with events on a log.

    11. 60
      API Gateway

      An API Gateway is a single front door for all your microservices: routing, auth, rate-limiting, request rewriting, observability.

    12. 61
      Rate Limiting

      Rate limiting protects your service from abuse, runaway clients, and the occasional internal bug-loop.

    13. 62
      Monitoring & Logging

      You can't fix what you can't see.

    14. 63
      Performance Optimization

      Optimisation order matters: measure, then change.

    Testing

    0/2 complete
    1. 64
      Unit Testing

      Unit tests verify a single class in isolation: services, mappers, validators.

    2. 65
      Integration Testing

      Integration tests spin up a slice (or all) of the Spring context against real dependencies — best done with Testcontainers for Postgres, Redis, Kafka.

    Microservices Architecture

    0/11 complete
    1. 66
      Introduction to Microservices

      Microservices split one big app into many small ones, each owning a bounded slice of business capability.

    2. 67
      Monolith vs Microservices

      Monolith: one process, one DB, one deployment.

    3. 68
      Service Discovery / Eureka

      In a microservices world, services come and go.

    4. 69
      API Gateway (Microservices)

      In microservices, the gateway is even more critical: clients should talk to one URL while you reorganise services freely behind it.

    5. 70
      Config Server

      Spring Cloud Config Server centralises configuration for all your services in a Git repo.

    6. 71
      Circuit Breaker

      When a downstream service is failing, hammering it makes everything worse.

    7. 72
      Distributed Tracing

      When a request hops 5 services, logs alone won't tell you where the latency went.

    8. 73
      Inter-Service Communication

      Services talk via HTTP, gRPC, or async messaging.

    9. 74
      Docker for Microservices

      Each microservice ships as a Docker image.

    10. 75
      Kubernetes Basics

      Kubernetes orchestrates containers across machines: scheduling, scaling, healing, networking, config.

    11. 76
      Cloud 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

    0/13 complete
    1. 77
      Docker Fundamentals

      Docker packages your app + its runtime into an immutable image that runs the same on every machine.

    2. 78
      Dockerizing Spring Boot Apps

      Three good ways to containerise Spring Boot, in order of preference: buildpacks, Jib, hand-written Dockerfile.

    3. 79
      CI/CD Pipelines

      CI/CD automates the path from commit to production: build, test, scan, push image, deploy.

    4. 80
      GitHub Actions

      GitHub Actions is the default CI for most Spring Boot teams in 2026: free for public repos, native to GitHub, huge action marketplace.

    5. 81
      Jenkins Basics

      Jenkins is the legacy CI workhorse — still everywhere in enterprises.

    6. 82
      AWS Deployment

      AWS hosts more Spring Boot apps in production than any other cloud.

    7. 83
      Railway / Render Deployment

      For side projects and startups, Railway, Render, Fly.io remove 95% of cloud ceremony.

    8. 84
      Production Logging

      Production logs are read by machines: a JSON log shape, shipped to Loki / CloudWatch / Datadog, queryable by trace ID.

    9. 85
      Monitoring Tools

      The de-facto monitoring stacks in 2026: Prometheus + Grafana + Loki + Tempo (self-hosted), Datadog / New Relic / Honeycomb (SaaS).

    10. 86
      Scaling Backend Systems

      Scaling isn't more servers — it's removing the bottleneck.

    11. 87
      Environment Variables

      Twelve-factor app rule #3: store config in the environment.

    12. 88
      Production Security

      Production-grade security is layered.

    13. 89
      Performance Engineering

      Performance engineering is a discipline: define SLOs, measure under load, fix the hottest path, repeat.

    Enterprise Backend Engineering

    0/11 complete
    1. 90
      Clean Architecture

      Clean Architecture (Uncle Bob) puts the business core at the centre and pushes frameworks, DBs and HTTP to the outside.

    2. 91
      Layered Architecture

      Layered architecture is the pragmatic, Spring-shaped flavour of clean architecture: Controller → Service → Repository → DB.

    3. 92
      Domain-Driven Design

      DDD is the playbook for complex domains: identify bounded contexts, model aggregates with strong invariants, communicate via events.

    4. 93
      Backend Design Patterns

      A short list of patterns you'll meet weekly in real Spring Boot codebases.

    5. 94
      Enterprise API Design

      Enterprise APIs are contracts that outlast their authors.

    6. 95
      Scalable Backend Systems

      Scalable systems are built on a few invariants: stateless services, shared-nothing data, async where possible, observable everywhere.

    7. 96
      High Availability

      HA is about surviving failures invisibly.

    8. 97
      System Design Basics

      System design interviews and real-world architecture share the same vocabulary: load estimates, data modelling, storage choice, caching, scaling, consistency.

    9. 98
      Optimization Strategies

      A condensed, repeatable optimisation playbook used at Netflix, Stripe and Shopify.

    10. 99
      Enterprise Security Practices

      Enterprises hold regulators, auditors and red teams to a higher bar than startups.

    11. 100
      Real Production Folder Structure

      How serious teams organise a Spring Boot service.

    Practice & Evaluation

    0/10 complete
    1. 101
      Spring Boot Exercises

      Hands-on exercises to cement what you've learned.

    2. 102
      REST API Challenges

      Sharpen your API design skills with these scenarios.

    3. 103
      Backend Debugging Tasks

      Debugging is the highest-leverage skill in backend engineering.

    4. 104
      Database Challenges

      Database mastery separates senior from junior backend engineers.

    5. 105
      Authentication Challenges

      Authentication is where mistakes are public and expensive.

    6. 106
      Architecture Challenges

      Stretch your architecture muscles with these whiteboard-style problems.

    7. 107
      Spring Boot Quiz

      Twenty rapid-fire questions across the course.

    8. 108
      Backend Interview Questions

      A curated bank of senior backend interview questions across Spring Boot, system design and behavioural rounds.

    9. 109
      Mock Backend Projects

      End-to-end portfolio projects modelled on what real backend teams ship in their first year.

    10. 110
      Enterprise Case Studies

      Read how the world's most demanding backends are actually built.