nestjs-auth-rbac-starter
ecommerce-backend
nestjs-auth-rbac-starter | ecommerce-backend | |
---|---|---|
1 | 1 | |
25 | 46 | |
- | - | |
4.4 | 0.0 | |
about 2 years ago | almost 2 years ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nestjs-auth-rbac-starter
ecommerce-backend
-
Implement Refresh Token Automatic Reuse Detection without cluttering your database
To implement Refresh Token Rotation Automatic Reuse Detection without storing all refresh tokens descending from the original one you can create a tokenFamily property in your database model and check for unregistered descendants. I did not go into full details on how I implemented the whole authentication process in this article, but if you want you can check the source code in the project's repository in GitHub
What are some alternatives?
passport - Passport module for Nest framework (node.js) 🔑
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
auth-nest-graphql - nest on top of fastify with mongo and graphql passwort jwt and bcrypt
nest-auth-example - Nest.js authentication with Passport. Realworld example
TNG - 📝 [Snippets] Typescript - Next.js/Nestjs - GraphQL
crud - NestJs CRUD for RESTful APIs
nestjs-cerbos - This demo project demonstrates how to use Cerbos in NestJS as an interceptor to validate requests based on policies defined in Cerbos.
nestjs-account-graphql - NestJS and GraphQL based project simulating an account service with permission control
ethereum-name-service-indexing - Indexing Ethereum Name Service ERC-721 Non Fungible Tokens transfers on Ethereum network with Subsquid SDK