Role-Based User Management System
Built with ASP.NET Core 8 (API) + React (TypeScript) + TailwindCSS
A modern, secure, and modular admin dashboard for managing users, roles, and page-level permissions.
RBUM (Role-Based User Management) is a full-stack solution designed to:
- Manage users and authentication with JWT + Refresh Tokens
- Assign custom roles and fine-grained page access
- Provide a modern admin dashboard for enterprise-grade control
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | React 18 (Vite + TypeScript) | Interactive Admin UI |
| Styling | TailwindCSS + Framer Motion + Lucide React | Modern gradient UI |
| Backend | ASP.NET Core 8 Web API | Secure REST API |
| Database | SQL Server / LocalDB | Stores users, roles, pages & access |
| Auth | JWT Bearer + Refresh Tokens | Stateless authentication |
| ORM | Entity Framework Core 8 | Data access layer |
RBUM.Api/ ├── Controllers/ │ ├── AuthController.cs │ └── AdminController.cs ├── Data/ │ └── AppDbContext.cs ├── Models/ │ ├── User.cs │ ├── Role.cs │ ├── Page.cs │ └── RolePageAccess.cs ├── Models/DTOs/ │ ├── UserInfoDto.cs │ └── PageDto.cs ├── Services/ │ ├── AuthService.cs │ ├── AuditService.cs │ └── JwtService.cs └── Program.cs
cd RBUM.Api
dotnet restore
dotnet ef database update # Run migrations
dotnet run
{
"Jwt": {
"Key": "your-super-secret-key",
"Issuer": "RBUM.Api",
"Audience": "RBUM.Client"
},
"ConnectionStrings": {
"DefaultConnection": "Server=.;Database=RBUMDb;Trusted_Connection=True;"
}
}