Super Admin

Learn how to change your role to admin.

Once you have the authentication and the database configured, you can change your role to admin.

Start the development servers

pnpm dev

This starts all development servers including Prisma Studio.

Create an account

If you haven't already, create an account at http://localhost:3000/signup.

This saves the user in the database.

Change the role

Go to Prisma Studio at http://localhost:5555.

Open the User collection and find the user you just created.

Change the role field from user to admin.

Save the changes.

Refresh

Refresh the page at http://localhost:3000.

You should now have admin access.