Skip to content

Advanced authen. NestJs / Typescript / Nodemailer / JWT / bcrypt / TypeORM (postgres) / Winston / Swagger

Notifications You must be signed in to change notification settings

whoruyh/nestjs-boilerplate

 
 

Repository files navigation

Application Description

NestJS advanced user authentication with Access / Refresh tokens. Sending activation link using NodeMailer in order to make user account confirmed. Winston library for better logging system. Swagger for OpenAPI documentation. TypeORM postgres database.

What I learned and TODO

Dynamic env variables (prod,dev etc.) - ✅
Access token - ✅
Auth Guard ( protected route ) - ✅
Activation link Nodemailer - ✅
Winston Logging Interceptor & HttpException filter - ✅
Refresh token - ❌
Swagger - ✅

Installation

Install all required packages

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

About

Advanced authen. NestJs / Typescript / Nodemailer / JWT / bcrypt / TypeORM (postgres) / Winston / Swagger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 2.8%