TS Ddd Controller

Create, review, or guide HTTP controllers in a TypeScript + DDD api. Use when the request involves `*.controller.ts` under `apps/api/src/<bc>/presentation/controllers/`, route definition, `ApiKeyGuard` on mutations, `ZodValidationPipe` against `@acme/<bc>-contracts` schemas, use case orchestration, mapping `Result` to HTTP via `mapResultToHttp`, signed-URL enrichment through a response mapper, HTTP status conventions (200/201/204), or controller tests using `@nestjs/testing` + `supertest` with an in-memory repository.

llodev c3fe778 10 files · 58.0 KB Updated

File contents

llodev/skills/tree/main/skills/ts-ddd-controller commit c3fe778730

Frequently asked questions

npx skillmds@latest add llodev/ts-ddd-controller