Skip to content

Oshanwick/RoleBasedUserManagement_V2---Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧭 RBUM Admin Suite

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.


πŸš€ Overview

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

πŸ—οΈ Architecture

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

Backend (RBUM.Api)

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

βš™οΈ Setup Guide

1️⃣ Backend Setup

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;"
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages