A progressive Node.js framework for building efficient and scalable server-side applications with multi tenancy module and Schema Typeorm.
Nest framework TypeScript starter repository. (Still in development)
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
This is Nestjs Restfull API with Multi tenancy, inspired from https://tech.canyonlegal.com/multitenancy-with-nestjs-typeorm-postgres.
With multi tenancy schema postgres typeorm.
For initial please hit api to create superadmin account with username: superadmin and password: password.
http://localhost:3000/user/initialize
If you adding new tables and columns in tenancy entity please hit with NODE_ENV=development to synchronize database.
http://localhost:3000/sync_db
Please fork if you want modify this repo.
Please support me here.
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
- Creator - @alfianriv
Nest is MIT licensed.