NestJS Api Tutorial
This is the source code of my Medium article series teaching you how to create a REST API with the powerful NestJS framework.
Part 01: Creating a REST API with NestJS — Part 01 — Scaffolding and basic CLI usage
Part 02: Creating a REST API with NestJS — Part 02 — CRUD, ValidationPipe and DTO
Part 03: Creating a REST API with NestJS — Part 03 — Services, PostgreSQL and TypeORM
Part 04 in construction
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov