Skip to content

Nestjs JWT authentication with access_token & refresh_token

Notifications You must be signed in to change notification settings

ceghap/nestjs-jwt-auth-with-at-rt

Repository files navigation

Nest Logo

NestJS JWT with access_token & refresh_token

Getting started

  1. Clone this repository
  2. Use docker to run postgres instance docker compose up
  3. Install project dependencies npm install
  4. Run project in dev mode npm run start:dev

Packages included

  • prisma with postgres
  • passport for auth strategy
  • class validator for input validator
  • bycrypt for password hashing