Create auth system using jwt ( using RSA256, the public and private key are in the .env file ) and local strategy. Created a need seed on prisma to create a superAdmin ( email and password are inside the .env file ). Create a guard to allow only resource owners or user with Admin role to access.
Create auth system using jwt ( using RSA256, the public and private key are in the .env file ) and local strategy. Created a need seed on prisma to create a superAdmin ( email and password are inside the .env file ). Create a guard to allow only resource owners or user with Admin role to access.