From CRUD to Hypermedia APIs with Spring (RU)
summary
Builds a working currency classifieds API (H2 + JPA + Gradle) that seeds 100 random ads and exposes CRUD plus business actions (publish, expire) as separate endpoints, then replaces client-side URL knowledge with hypermedia links generated via Spring Data REST and Spring HATEOAS. Uses a resource processor and entityLinks to add publish/expire/update/delete relations; demos via browser and Postman confirm lifecycle transitions and searches. Notes: ~43% of APIs remain URI-driven and >40% of developers want to add hypermedia.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 10:13Basic CRUD API
- 14:33Adding business logic
- 26:47URI API issues
- 30:18Hypermedia API intro
- 36:44Hypermedia with Spring HATEOAS
- 41:44Testing and docs with Spring REST Docs
- 47:48Summary
related talks
55mFrom REST to Hypermedia APIs with Spring
46mGet HATEOAS and Hypermedia right with Spring
46mREST next level: writing business-oriented web APIs
47mHypermedia IRL
01h 35mSpring Data REST - Data Meets Hypermedia
21mBuilding Flexible APIs with Spring HATEOAS
31mCRUD is not REST - Hypermedia for Y'All!
01h 02mHypermedia and the Rest of REST
