02Chapter 2: Separating the API contract with DTOsAssume Java records, annotations, HTTP methods, JSON, Spring Boot, and basic JPA. A data transfer object (DTO) is a type used to move data across an API boundary. It keeps the JSON contract separate from the database entity.1 min read
03Chapter 3: Validating request bodiesAssume you know Java annotations, HTTP methods and status codes, JSON, relational databases, and Maven or Gradle. This chapter connects input validation, error handling, pagination, and web-layer tests.1 min read