Generate CRUD boilerplate for {{resource name}} in {{framework + language}}.
Resource shape:
{{paste schema / interface / model}}
Requirements:
- {{auth model — JWT / session / public}}
- {{database — Postgres / MongoDB / etc.}}
- Pagination on the list endpoint (cursor or offset, whichever fits)
- Soft delete (don't actually delete rows)
Output:
1. The route file / handlers
2. Validation (use the conventional library for this stack)
3. Error responses with sensible status codes
4. Tests for each endpoint, happy path
Then briefly justify:
- Where I diverged from "default" framework conventions and why
- One thing that's stub-quality in this code that I'd need to revisit before productionboilerplateCRUDAPI