-
NestJs Jwt Authentication example with an 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 the "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