Project to demonstrate how to use NestJS framework with MicroORM.
$ npm install
Create database:
createdb -U postgres mymikroormdemo
Create database schema:
npm run createdbschema
Note: Initial data will be created during the first startup.
# 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
Import postman/my-mikroorm-server-demo.postman_collection.json collection into Postman and use it for testing.