Skip to content

Monu2114/Role-Based-Access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandagram - Role-Based-Access

Pandagram is a simple React application that demonstrates role-based access control (RBAC) for user management. Users can log in, view tasks, and manage roles and tasks based on their access level (Admin, Manager, or Guest). The project utilizes React state, local storage for persistent data, and role-based UI rendering for a dynamic user experience.

Demo Video

video_20241126_201309.1.mp4

Features

User Roles:

Admin: Can manage roles, add new users, and assign tasks. Manager: Can view tasks and delete them. Guest: Can only view with no editing permissions. Persistent Data: All user information is stored in the local storage, ensuring data persists even after page reloads.

Task Management: Admins and Managers can view assigned tasks. Admins have the ability to add or remove tasks.

Login System: Users can log in to the application and access role-specific features.

Setup and Installation

To get started with this project locally, follow the steps below:

1. Clone the Repository

Clone the repository to your local machine using the following command: git clone https://github.com/Monu2114/Role-Based-Access.git

2. Navigate to the Frontend Folder

Change into the frontend directory: cd frontend

3. Install Dependencies :

npm install

4. Start the Development Server

npm run This will start the application, and you can view it in your browser by navigating to http://localhost:5173.

Screenshots

Add Multiple tasks by seperating with comma(',') image

alt text

Guests can't update roles and change tasks :

alt text

Only Admins can update the roles of users :

image

For other features, do watch the demo video