/nestjs-auth-refresh-token-example

This is an example of how to implement refresh tokens in NestJS. This project is based on the article "How to Implement Refresh Tokens with Token Rotation in NestJS".

Primary LanguageTypeScript

Refresh Tokens with Token Rotation in NestJS

This is an example of how to implement refresh tokens in NestJS.

This project is based on the article "How to Implement Refresh Tokens with Token Rotation in NestJS".

Installation

  1. Clone the repository: git clone git@github.com:zenstok/nestjs-auth-refresh-token-example.git
  2. Start containers: yarn dc up
  3. Initiate database: yarn dc-db-init (once)

If you want to clean the project, run command: yarn dc-clean

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Stay in touch