Angular Expert @ angularconsulting.com.au
v 1.0 (13/02/2019)
v 1.1 (07/03/2019)
v 1.0 (13/02/2019)
v 1.1 (07/03/2019)
npm i -g @nestjs/cli
nest new project-name
build
tsc -p tsconfig.build.json
format
prettier --write "src/**/*.ts"
start:dev
nodemon
start:debug
nodemon --config nodemon-debug.json
prestart:prod
rimraf dist && tsc
start:prod
node dist/main.js
lint
tslint -p tsconfig.json -c tslint.json
test:watch
jest --watch
test:cov
jest --coverage
test:debug
node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand
test:e2e
jest --config ./test/jest-e2e.json
"compilerOptions": {
"paths": {
"@serverTypes/*": ["../server/src/types/*"],
"@serverHelpers/*": ["../server/src/core/helpers/*"]
}
},
ng g node-app nestjs-app --framework nestjs
ng serve nestjs-app
ng build nestjs-app
ng test nestjs-app
ng lint nestjs-app
blog.nrwl.io/robust-backends-with-nx-7-3-and-nestjs-8fe1611375e6