From REST to Hypermedia APIs with Spring
summary
A small server for a black‑market currency board gets built live using Spring Data REST, JPA and H2 with 100 generated ads and pagination working out of the box; custom POST endpoints implement business actions (publish, expire) so state transitions live on the server instead of the client; a ResourceProcessor adds HAL links so clients discover allowed actions; tests via MockMvc record real HTTP request/response examples and feed Spring REST Docs to generate documentation, demonstrating a working HAL (HAL) hypermedia API.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:30Spring Boot project setup
- 10:47Application models and repositories
- 13:59REST API limitations
- 16:26Adding business logic
- 24:39Moving to Hypermedia API
- 29:14HATEOAS with Spring HATEOAS
- 37:03API documentation with SpringDoc
- 43:26Summary and Spring API tips
- 46:26Q&A
related talks
49mFrom CRUD to Hypermedia APIs with Spring (RU)
56mDDD & REST - Domain Driven APIs for the Web
01h 35mSpring Data REST - Data Meets Hypermedia
46mGet HATEOAS and Hypermedia right with Spring
59mFrom CRUD to Hypermedia API with Spring
47mHypermedia IRL
46mREST next level: writing business-oriented web APIs
21mBuilding Flexible APIs with Spring HATEOAS
