vendix-backend-prisma

Community

Domain-scoped Prisma for multi-tenant apps

AuthorRzyfront
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a scalable pattern for multi-tenant data access by delivering domain-specific Prisma services that automatically scope queries by organization and store, ensuring data isolation and consistent behavior across services.

Core Features & Use Cases

  • Domain-specific PrismaService extensions: Each domain (ecommerce, organization, superadmin, public) extends the base PrismaService to apply context-aware filtering automatically.
  • Context-aware data access: Uses a RequestContextService to inject organization_id and store_id into queries for automatic scoping.
  • Reusable domain helpers: Centralized helpers for common queries (e.g., findCategories, findCartItems) and a PrismaModule setup for global availability.

Quick Start

Instantiate EcommercePrismaService in your CatalogService and fetch products with automatic store scoping.

Dependency Matrix

Required Modules

None required

Components

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: vendix-backend-prisma
Download link: https://github.com/Rzyfront/Vendix/archive/main.zip#vendix-backend-prisma

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.