A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository, Sequelize ORM, GraphQL server with Multi-tenant & Microservice (NATS) feature.
In this application we have used separate database for each organizations. The databases will be automatically created when a request is received.
$ npm install
# Start docker
$ docker compose up -d
# watch mode
$ npm run start:dev
Each request that comes in must have a key x-tenant-id
value [your-organization-name]
pair.
Note that the database that gets created will have the same name as your organization id with the prefix tenant_.
- Author - Kishore Kumar
- Website - https://kishore.netlify.app
- Github - kishore007k
Nest is MIT licensed.