AlexanderC/nestjs-mtenant
NestJS module to enable deep multitenancy support.
NestJS module for multi-tenancy with deep integration into Sequelize and TypeORM.
TenantBaseRepository for reads@MTApi() decorator| nestjs-mtenant | NestJS | Node.js | Sequelize | TypeORM |
|---|---|---|---|---|
| 1.x | 11.x | >= 20 | 6.x | 0.3.x |
| 0.x | 9.x - 10.x | >= 14 | 6.x | - |
npm install nestjs-mtenant nestjs-cls
# For Sequelize support:
npm install sequelize sequelize-typescript
# For TypeORM support:
npm install typeorm
Full documentation is available on GitHub Pages.
No download data available
No tracked packages depend on this.
Statements : 92.89% (471/507)
Branches : 97.02% (196/202)
Functions : 98.27% (114/116)
Lines : 92.84% (467/503)
# Run tests
npm test
# Build
npm run build
# Release
npm run format
npm run release # or: npm run patch | minor | major
npm run deploy
MIT