Skip to content

Source code from my Medium articles on creating a REST API with Nestjs

Notifications You must be signed in to change notification settings

BackBayRider/nestjs-api-tutorial

 
 

Repository files navigation

NestJS Api Tutorial

DeepScan grade Maintainability

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

About

Source code from my Medium articles on creating a REST API with Nestjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.1%
  • JavaScript 7.4%
  • Dockerfile 1.5%