AdminHub is a full-stack role-based access control (RBAC) web application where users can sign up, view a personal dashboard, create communities, define roles, add other users to their communities, and assign them roles.
The project demonstrates modern frontend and backend development using the MERN stack and focuses on authentication, community management, and clean UI/UX.
- User Authentication (JWT + Bcrypt)
- User Dashboard with action history
- Community creation and management
- Role creation and assignment
- Add users to communities
- Protected routes and role-based access control
- Next.js
- TypeScript
- Tailwind CSS
- ShadCN UI
- Node.js
- Express.js
- MongoDB
- JWT (JSON Web Token)
- Bcrypt for password hashing
Create a .env file in the backend directory with the following:
PORT=5000
MONGO_URI=your_mongodb_connection_string
TOKEN_KEY=token_key- npm install
- npm start
- npm install
- npm run dev



