Nestjs authentication template
This project for base authentication
- 
Register user 
- 
Login 
- 
Get profile 
- 
Roles 
- 
Refresh token 
- 
Change password 
- 
Delete account 
- 
Nestjs 
- 
Swagger 
- 
Mongodb 
- 
Redis 
- 
Passport 
- 
JWT 
- 
class-validator 
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prodDocument api: http://localhost:3000/docs
docker-compose up --buildDocument api: http://10.10.10.2/docs
Authentication docs: tanmv/MVT@2022
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covEmail: macvantan@gmail.com
Fb: fb/mvt.hp.star
Skype: trai_12a1
