billygrant24 / nestjs-jwts

NestJs jwt tutorial using access and refresh tokens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestJs Jwt Authentication example with access token and refresh token - Integration and End-to-end tests included

This is an example of how to implement an authentication system in NestJs using passport.js, and json web tokens (JWT).

I've included integration tests in the auth module under "test" folder.

The e2e tests on the other hand are in the root test folder.

yarn test # run integration test
yarn test:e2e # run e2e tests

The code reflects what was explained in the video:

IMAGE ALT TEXT HERE

About

NestJs jwt tutorial using access and refresh tokens


Languages

Language:TypeScript 95.7%Language:JavaScript 3.1%Language:Shell 1.1%