Skip to content

agriffard/NeatAdmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neat Admin

A Blazor Server admin panel for managing Countries, Contacts, and Addresses with RBAC features.

Features

  • Blazor Server web application
  • MudBlazor v9.0.0-preview.1 UI components
  • SQL Server database with Entity Framework Core
  • ASP.NET Core Identity authentication
  • Role-Based Access Control (RBAC)
    • SuperAdmin: Full access including user management and deleted record restore
    • Admin: Entity management and audit log viewing
    • Manager: Create and edit entities
    • Viewer: Read-only access
  • Entity Management
    • Countries (ISO 3166-1 data)
    • Contacts
    • Addresses
  • Audit Logging for all entity changes
  • Soft Delete with restore capability
  • Search Filters on all list pages
  • Pagination for large data sets

Prerequisites

  • .NET 9.0 SDK
  • SQL Server (LocalDB or full instance)

Getting Started

  1. Clone the repository
  2. Navigate to the project directory:
    cd src/NeatAdmin.Web
  3. Update the connection string in appsettings.json if needed
  4. Run the application:
    dotnet run
  5. The database will be automatically created and seeded with:
    • 195 ISO 3166-1 countries
    • 100 sample contacts with addresses (via Bogus)
    • Default users for each role

Default Users

Email Password Role
superadmin@neatadmin.com Admin@123! SuperAdmin
admin@neatadmin.com Admin@123! Admin
manager@neatadmin.com Admin@123! Manager
viewer@neatadmin.com Admin@123! Viewer

Project Structure

src/NeatAdmin.Web/
├── Components/
│   ├── Account/         # Login, Register, Logout
│   ├── Admin/           # Admin pages (Countries, Contacts, Users, AuditLogs)
│   ├── Layout/          # Main layout with MudBlazor
│   ├── Pages/           # Home/Dashboard
│   └── Shared/          # Shared components
├── Data/
│   ├── Entities/        # Entity models
│   └── Seeding/         # Database seeders
├── Services/            # Business logic services
└── Program.cs           # Application entry point

Technologies Used

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors