Skip to content

Ayush-v/Drizzle-RBAC-Nextjs

Repository files navigation

📌 Overview

Drizzle-RBAC-Nextjs is a project that utilizes various libraries and tools, including drizzle orm, next-auth, nextjs,, faker-js/faker, react-hooks-form, radix, and more. I am talking a challege to create Role Based Access Control(RBAC) project for my knowledge and to improve my portfolio.

Project does not need a pg hosting to run you can use docker to run it locally

⚙️ Setting Up

DB_URL

  • Install PostgreSQL on the local machine.
  • Create a database named "drizzle-rbac".
  • Create a user named "dev" with the password "dev".
  • Grant all privileges on the "drizzle-rbac" database to the "dev" user.
  • Use the URL format "postgresql://dev:dev@localhost:3308/drizzle-rbac".

🚀 Run Locally

1.Clone the Drizzle-RBAC-Nextjs repository:

git clone https://github.com/Ayush-v/Drizzle-RBAC-Nextjs

2.Install the dependencies with one of the package managers listed below:

pnpm install

3.Start the development mode:

pnpm dev

Work in progress .....