Building a Complete Spring Boot API
Eight posts ago, this track started with a single endpoint returning a hardcoded string. Since then we've added real controllers, validation at the trust boundary, JPA persistence, transactions that don't half-succeed, Problem Details errors, and JWT security. Every one of those posts ended with "here's the piece" — this one is "here's the machine." We're going to assemble every piece into one coherent Orders API: controller → service → repository, validated, transacted, secured, and proven by an integration test. Nothing here is new. That's the point. If each earlier post did its job, this one should feel like snapping Lego bricks together — and any step that feels unfamiliar tells you exactly which post to revisit. The build plan One service, three layers, three cross-cutting concerns. The layers only talk downward; the concerns wrap the layers: HTTP client Controller — @RestController H...