This is a role-based access control (RBAC) dashboard built with React, Vite, and TailwindCSS. The dashboard is fully responsive, adapts to different screen sizes, and handles most edge cases. It includes user authentication and different permission levels for managing users and roles.
Before running the project, make sure you have the following installed:
If you haven't installed these, you can download and install them from Node.js official website.
Clone the repository to your local machine:
git clone <repository-url>
Navigate to the project directory and install the necessary dependencies:
cd <project-directory>
npm install
This will install all the required packages, including React, Vite, TailwindCSS, and others.
Once dependencies are installed, you can run the development server with the following command:
npm run dev
This will start the Vite development server and open the application in your default browser at http://localhost:5173. The app will automatically reload when you make changes to the code (thanks to Hot Module Replacement).
To log in to the dashboard, use the following default credentials:
[email protected]
password123
The app has been designed to handle most edge cases, including:
If you're ready to deploy the project, you can build it for production:
npm run build
This will create a dist
directory with the optimized production build.