A progressive Node.js framework for building efficient and scalable server-side applications.
A simple NodeJS boilerplate using Nest, serving a Book Store.
$ 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
Make sure to add ormconfig.json file in the config dir with your Database configuration.
{
"type": "{nestjs-supported-db-type}",
"host": "{db-hostname}",
"port": "{port-number}",
"username": "{db-user-name}",
"password": "{db-password}",
"database": "{db-name}",
"entities": ["dist/**/*.entity{.ts,.js}"],
}