ecommerce-backend
nestjs-auth-rbac-starter
Our great sponsors
ecommerce-backend | nestjs-auth-rbac-starter | |
---|---|---|
1 | 1 | |
46 | 25 | |
- | - | |
0.0 | 4.4 | |
almost 2 years ago | about 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.
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
nestjs-auth-rbac-starter
What are some alternatives?
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
passport - Passport module for Nest framework (node.js) 🔑
nest-auth-example - Nest.js authentication with Passport. Realworld example
auth-nest-graphql - nest on top of fastify with mongo and graphql passwort jwt and bcrypt
TNG - 📝 [Snippets] Typescript - Next.js/Nestjs - GraphQL
nestjs-cerbos - This demo project demonstrates how to use Cerbos in NestJS as an interceptor to validate requests based on policies defined in Cerbos.
crud - NestJs CRUD for RESTful APIs
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