farsabbutt / nestjs-typescript-nodejs-api-with-swagger

NestJS Typescript NodeJS API with Swagger (OpenAPI specifications) example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

An example NestJS typescript NodeJS API with Swagger OpenAPI Specifications

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# View Swagger Open API docs
Open http://localhost:3000/api in a browser

# View Swagger API JSON
Open http://localhost:3000/api-json in a browser

# 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

NestJS Typescript NodeJS API with Swagger (OpenAPI specifications) example


Languages

Language:TypeScript 93.3%Language:JavaScript 6.7%