Skip to main content

Backend with Spring Boot 4

An 8-step path through a real backend — from the first line to auth, deployment, and Spring MVC failure contracts.

Difficulty
Intermediate
Lessons
8

Java 21 + Spring Boot 4 powers most production Korean backends — strong types, mature ecosystem, proven patterns.

By the end:

  • Understand multi-module Spring projects
  • Treat SQL as SSOT, JPA/MyBatis as readers
  • Design REST APIs to spec
  • Add JWT authentication
  • Write integration tests with @SpringBootTest + Testcontainers
  • Deploy with Docker + Caddy
  • Design Spring MVC request, error, and timeout boundaries as a stable API contract

Flow

From backend basics to operability

Runtime foundation

Define backend responsibilities and run the first application.

Data and API

Treat SQL as the data contract and design REST inputs, outputs, and failures.

Trust and verification

Implement the JWT boundary and freeze contracts with automated tests.

Deployment and structure

Verify an operational deployment and separate MVC responsibilities clearly.

Steps 1–4 are how to build it. Steps 5–8 are how to keep it safe, stable, and explicit about failure.

Prerequisite — getting-started + Java 21 installed.

Lessons

  1. 1

    Step 1 — What is a backend?

  2. 2

    Step 2 — First Spring Boot 4 project

  3. 3

    Step 3 — SQL as SSOT

  4. 4

    Step 4 — REST API design

  5. 5

    Step 5 — Auth with JWT

  6. 6

    Step 6 — Testing strategy

  7. 7

    Step 7 — Deploy

  8. 8

    Step 8 — Spring MVC request boundaries and failure contracts

Other courses

All courses →