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

Nestjs JWT authentication with access_token & refresh_token

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
ezoic increase your site revenue

About

Nestjs JWT authentication with access_token & refresh_token


Languages

Language:TypeScript 89.3%Language:JavaScript 5.8%Language:Shell 4.9%