REST WITH SPRING

Build Your REST API with Spring Boot

Production-grade REST API with Spring 6 and Spring Boot 3

A REST API is a must-have for any serious application. And in our ecosystem, building the API with Spring Boot is, of course, the clear choice and very much in-demand.

The lessons start with the fundamentals of what makes a good REST API, working on a practical project with Spring Boot. Building on this, we’ll see more advanced tactics like HATEOAS, different types of tests you can write to maintain your API, documentation, error handling, and efficient input validation for the API.

Build
Test
Document
Evolve
Build Your REST API with Spring Boot illustration

Course Outline

~ 22 HOURS
01

The Basics of REST with Spring Boot

3 LESSONS • ~ 2 HOURS
1.The Anatomy of a REST API (theory)
2.The Project We’re Building
3.The Web Configuration
02

REST and HTTP Semantics

4 LESSONS • ~ 3.5 HOURS
1.HTTP Verbs and Semantics With Spring
2.Leverage HTTP Verbs and Semantics in REST API Operations
3.Good URI Practices (theory)
4.The Lifecycle of a Request
03

Input Validation and Exception Handling

5 LESSONS • ~ 4.5 HOURS
1.Exception Handling and Sane HTTP Status Codes
2.Global API Exception Handling
3.The Basics of Input Validation
4.Validation Groups for Different API Operations
5.Spring and the Problem Details Spec
04

Testing the API

6 LESSONS • ~ 4.5 HOURS
1.End-To-End API Tests – WebTestClient
2.WebTestClient API Assertions
3.How To Test HTTP Semantics
4.Mechanisms to Simplify End-to-End Test Cases
5.Contract Testing – A Special Kind Of Test
6.Mechanisms to Simplify Contract Test Cases
05

Document and Discover the REST API

3 LESSONS • ~ 3 HOURS
1.Document vs Discover a REST API
2.Document the API with Swagger and OpenAPI
3.Discover a REST API – HATEOAS
06

Evolve the REST API

5 LESSONS • ~ 4.5 HOURS
1.Evolution of a REST API
2.Dealing With Changes in the API – Resource Changes
3.Dealing With Changes in the API – URL Changes
4.Dealing With Changes in the API – Versioning
5.Decouple the API From the Domain Model

Access this course through Baeldung All Access

Our Full Course Library
IntelliJ Idea Ultimate (6 months free)
JProfiler (6 months free)
All Upcoming Courses (Roadmap)
Certificates of Completion
Multiple-Choice questions in Each Lesson
Pro Access
Explore All AccessYearly or the Lifetime access

Do you have a team who would benefit from taking the course?

Here are our team licenses

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of the library. I've put a lot of work and care into the material and hope you're going to use it and to develop and maintain your applications.

I confidently back all courses with a 20-Day Money Back Guarantee. I want you to dive in deep and experience the full wealth of this resource without hesitation.

If the material isn't a good fit, just contact me within 20 days of purchase and ask for a full refund for any single course package.

Build 2026-11-20-6d79ad85b1b622b169c0848e5905526475fac4f4