All Courses are 25% of till 26th May, 2025

Days
Hours
Minutes
Seconds

Build Your REST API with Spring Boot

from HTTP fundamentals to API Mastery

What makes a good REST API?

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.
APIs are also public, which means you need to get them right from the start, because they’re very expensive to change
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.

The canonical reference for building a production grade REST API with Spring Boot. The 6 modules cover designing the API using recommended best practices and high-standard specifications, all with a critical and detail-oriented mindset.

In addition to the insightful guides on implementation, you’ll also get the knowledge needed to understand the difference between documenting and discovering an API, and learn different options for testing and safely evolving an API.

Everything I wish I had access to when I built my first API with Spring.

The course contains:

Of course, if you have any questions about the material, ping me directly here, on chat, or over email.

1. The Basics of REST with Spring Boot

3 LESSONS (Text) ~ 2 HOURS

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

2. REST and HTTP Semantics

4 LESSONS (Text) ~ 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 (Preview lesson)

3. Input Validation and Exception Handling

5 LESSONS (Text) ~ 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

4. Testing the API

6 LESSONS (Text) ~ 4.5 HOURS

  1. End-To-End API Tests – WebTestClient (Preview lesson)
  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

5. Document and Discover the REST API

3 LESSONS (Text) ~ 3 HOURS

  1. Document vs Discover a REST API
  2. Document the API with Swagger and OpenAPI
  3. Discover a REST API – HATEOAS

6. Evolve the REST API

5 LESSONS (Text) ~ 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 (Preview lesson)
  4. Dealing With Changes in the API – Versioning
  5. Decouple the API From the Domain Model

The lessons in this course are text-based, with a full project backing each one.

If you’re new to Spring, have a look at the “Learn Spring” course first.

Access this course through Baeldung All Access

All 6 Courses (50+ modules, 200+ lessons)

IntelliJ Idea Ultimate (6 months free)

All upcoming courses (Maven, Hibernate, Mockito)

Certificates of Completion

Multiple-Choice questions in Each Lesson 

Pro Access

Yearly or the Lifetime access

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

rws-course-page-img-guarantee.png

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of API design as well as the advanced tactics to take your API into production. I’ve put a lot of work and care into the material and hope you’re going to use it and really make your REST APIs a lot better.

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.