Here is a sample of how we can apply the dependency inversion principle in Nest together with TypeORM An explanation can be found in this Article
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Nest is MIT licensed.