This is a starter project for a 50-bed hospital management system with Identity and role-based access.
Included: - Models: Patient, Bed, Admission, Bill - Identity: ApplicationUser, Identity configuration, SeedData to create roles and default users - Controllers: Patients, Admissions, Billing, Account - Basic Razor Views - SQL script to create DB and seed 50 beds
To run: 1. Install .NET 6 SDK 2. Update connection string in appsettings.json 3. from project folder run: dotnet restore dotnet ef migrations add InitialIdentityAndApp -c ApplicationDbContext dotnet ef database update -c ApplicationDbContext dotnet run
Default seeded accounts: - Admin: admin@hospital.com / Admin@123 - Doctor: doctor@hospital.com / Doctor@123 - Nurse: nurse@hospital.com / Nurse@123 - Billing: billing@hospital.com / Billing@123
Change these passwords after first login.