vendix-backend-middleware
CommunityMulti-tenant middleware for Vendix backend.
AuthorRzyfront
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill configures and wires DomainResolverMiddleware to support dynamic domain resolution, multi-tenancy, and per-request context for Vendix backend services.
Core Features & Use Cases
- Domain resolution: Detects store, organization, or vendix_core domains from the request host and injects store_id, organization_id, and domain_type into the request context.
- Caching: Uses an LRU cache to minimize database lookups for frequent domain resolutions.
- Request-scoped context: Works with Prisma and NestJS to expose per-request context to controllers and services.
Quick Start
Integrate the middleware into AppModule and start the NestJS server. Then send requests to subdomains like tienda.tiendavendix.com to verify the injected context.
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: vendix-backend-middleware Download link: https://github.com/Rzyfront/Vendix/archive/main.zip#vendix-backend-middleware 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.