github-actions[bot] 18b98d666e
Merge pull request #2365 from hantsy/dependabot/npm_and_yarn/eslint/eslintrc-3.3.3
build(deps-dev): bump @eslint/eslintrc from 3.3.1 to 3.3.3
2025-12-01 16:01:20 +00:00
2025-01-18 11:20:40 +08:00
2021-03-05 12:34:05 +08:00
2025-08-05 10:50:51 +08:00
2021-08-31 12:55:06 +08:00
2021-02-28 10:55:34 +08:00
2021-07-27 14:43:50 +08:00
2020-06-11 12:57:29 +08:00
2020-07-23 10:43:05 +08:00
2020-06-11 12:57:29 +08:00
2023-04-16 00:47:34 +08:00
2025-01-18 11:20:40 +08:00
2020-06-11 12:57:29 +08:00
2020-06-11 12:57:29 +08:00
2022-05-03 11:57:58 +08:00

NestJS Sample

Compile and build Build Docker Image Run e2e testing codecov

A NestJS RESTful APIs sample project, including:

  • Restful APIs satisfies Richardson Maturity Model(Level 2)
  • Custom Mongoose integration module instead of @nestjs/mongoose
  • Passport/Jwt authentication with simple text secrets
  • Fully testing codes with Jest, jest-mock-extended, ts-mockito, @golevelup/ts-jest etc.
  • Github actions workflow for continuous testing, code coverage report, docker image building, etc.

Docs

Build

Install the dependencies.

$ 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

Reference

Description
NestJS RESTful APIs Sample
Readme GPL-3.0 267 MiB
Languages
TypeScript 98.6%
JavaScript 1.2%
Dockerfile 0.2%