This is the backend for the RBAC Management System, providing role-based access control (RBAC) functionality for user, role, and permission management. Built with Node.js, Express.js, and MongoDB, it provides a secure and scalable foundation for managing users, roles, and permissions in your application.
š Explore it here: https://rbac-frontend-rahul4507s-projects.vercel.app/
Here are some of the project's best features:
User Management: View create edit and delete users and manage their roles and permissions.
Role Management: Create edit and delete roles and assign specific permissions.
Permission Management: Define and assign granular permissions to users and roles.
Seamless Navigation: Smooth navigation with Lazy Loading for modules and Route Guards for access control.
Integrated: Already integrated with a backend system for dynamic user/role management.
User-Friendly Interface: Modern UI with Ng-Zorro and custom components for a sleek experience.
Technologies used in the project:
Frontend: Angular 16 Tailwind CSS Ng-Zorro
Routing: Angular Router with Lazy Loading
Build Tools: Webpack Angular CLI
CI/CD: GitHub Actions (for deployment automation)
Version Control: Git GitHub
Backend: Node.js and Express.js
Database: MongoDB
src/
āāā controllers/
ā āāā auth.controller.js
ā āāā role.controller.js
ā āāā user.controller.js
ā āāā permission.controller.js
āāā middlewares/
ā āāā auth.middleware.js
ā āāā role.middleware.js
ā āāā error.middleware.js
āāā models/
ā āāā user.model.js
ā āāā role.model.js
ā āāā permission.model.js
āāā routes/
ā āāā auth.routes.js
ā āāā role.routes.js
ā āāā user.routes.js
ā āāā permission.routes.js
āāā utils/
ā āāā apiFeatures.utils.js
ā āāā appError.utils.js
ā āāā catchAsync.utils.js
āāā node_modules/
āāā .gitignore
āāā app.js
āāā config.env
āāā connection.js
āāā package.json
āāā package-lock.json
āāā README.md