repository-pattern-nestjs
CommunityStandardized Prisma repositories for NestJS.
Authorallenlin90
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Repositories act as data access abstraction. They should:
- Encapsulate queries and hide database specifics from services
- Provide typed interfaces, consistent error handling, and support for soft deletes
- Enforce a uniform BaseRepository-driven pattern across modules to improve maintainability
Core Features & Use Cases
- BaseRepository extension for NestJS with Prisma delegates to standardize CRUD paths
- Specialized find methods, pagination, optimistic locking, and domain-driven queries
- Guidance for private module repositories and join-table patterns in the monorepo
Quick Start
Create a new repository by extending BaseRepository with your Prisma delegate and wire it into your NestJS module following the architectural guidelines above
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: repository-pattern-nestjs Download link: https://github.com/allenlin90/eridu-services/archive/main.zip#repository-pattern-nestjs Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.