TS Ddd Repository Pattern

Design and implement the Repository pattern in a TypeScript DDD clean architecture project — define repository interfaces in the domain layer and implementations in the infrastructure layer. Trigger when the user says "create a repository", "implement persistence", "add database access", "wire up TypeORM/Prisma/Drizzle", "implement the repository interface", "add Unit of Work", "how do I persist this aggregate", or when connecting domain aggregates to any data store. Also trigger when reviewing persistence code that may be violating the dependency rule.

Methasit-Pun Updated 1 repo stars

File contents

Methasit-Pun/ts-ddd-clean-architecture commit eb95d2a17f

Frequently asked questions

npx get-skill add methasit-pun/ts-ddd-repository-pattern