Description

Basic Role Based Access (RBAC) Controll With Nest js With Unit Test && e2e test Implementation

Used Techs

  • Nestjs
  • Mongoose ODM
  • bcrypt
  • jwt

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

#watch mode
$ npm run test:watch

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

API DOCUMENTATION

You need to first run the application then Go to The api documenation by cliking here ➡️ Api Documentation

Stay in touch