Blhasn-Sehli / nestJs-test-e2e-unit-RBAC-Auth-JWT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:TypeScript 72.1%Language:JavaScript 14.2%Language:CSS 8.1%Language:HTML 5.5%