gameguild-gg / website

4 stars 1 forks source link

Feat/auth #6

Closed rvascons closed 9 months ago

rvascons commented 10 months ago

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.