Spring API To Service

Completes a contract-first Spring Boot scaffold — api/ contract interfaces, api/dto/ record DTOs, shared problem+json components, and red MockMvc contract tests, however they were produced — by implementing the web, service, and repository layers plus Flyway migrations under fixed cross-cutting decisions (hand SQL via JdbcClient vs JPA by criteria, server-assigned UUIDs, Clock-driven timestamps, database-enforced uniqueness translated through a constraint-name registry, Testcontainers on the deployed engine, migrations as a discrete deploy step) until the contract tests pass unchanged, then wires configuration and packaging. Use when a project contains that scaffold (api/ contract interfaces, api/dto/ records, red contract tests) and the user asks to implement or complete the service, make the contract tests pass or go green, add persistence, controllers, or migrations behind the contract, or take the scaffold to production.

kelly-griffith Updated

File contents

kelly-griffith/software-engineering-cursor-skills/tree/main/spring-api-to-service commit d2d6f31397

Frequently asked questions

npx skillmds@latest add kelly-griffith/spring-api-to-service