Springbound: Restore the Backend

Learn Spring Boot 4 by playing. You control an engineer in a city whose application has gone down, and you bring it back by making a real REST API work.

A playable Spring Boot 4 course

Restore the Backend

The city's application is down. Explore it, fight what crawled into it, and bring it back by building a real REST API, one working piece at a time.

Free, no account. Keyboard or touch. Progress is saved in your browser.

What you will be able to do

  • Explain what Spring Boot provides and how an application starts.
  • Describe how an HTTP request becomes a Java method call and a response.
  • Build REST endpoints with the right methods, paths, JSON and status codes.
  • Tell controllers, services, repositories, DTOs and entities apart.
  • Explain beans and constructor injection.
  • Validate input, handle errors, persist data and test an API.

Five chapters, twenty missions

  1. The Core. How a Spring Boot application starts, starters, the embedded server, your first GET endpoints, path variables and query parameters.
  2. Workshop District. Beans and component scanning, constructor injection, what belongs in a controller and what belongs in a service, properties and profiles.
  3. Supply Yards. POST with a JSON body and a DTO, ResponseEntity and status codes, PUT, DELETE, and what to answer when a resource is missing.
  4. The Vault. Bean Validation, central exception handling with problem details, JPA entities and repositories, and transactions.
  5. Launch District. Tracing a request through every layer, automated tests, reading startup logs, health checks, and a final mission that uses all of it.

The Spring application inside the game is a simulation that runs in your browser: no Java is executed. Its behaviour was copied from a real Spring Boot 4.1 project, which you can download and run.