A modern, full-featured healthcare management system built with ASP.NET Core MVC. This application provides a comprehensive solution for managing patients, doctors, appointments, medical records, and prescriptions.
- Admin - Full system access and management
- Doctor - Patient management, appointments, prescriptions
- Patient - Book appointments, view records and prescriptions
| Module | Description |
|---|---|
| Patient Management | Register patients, manage profiles, track medical history |
| Doctor Management | Add doctors, specializations, consultation fees |
| Appointment System | Book, reschedule, cancel appointments with calendar view |
| Medical Records | Create and manage patient medical records |
| Prescriptions | Digital prescriptions with print support |
- Clean, minimal, and professional design
- Responsive dashboard for all user roles
- Real-time statistics and data visualization
- Mobile-friendly interface
- Backend: ASP.NET Core 8.0 MVC
- Database: Entity Framework Core with SQL Server
- Frontend: Bootstrap 5, Font Awesome, Inter Font
- Authentication: Session-based authentication
- .NET 8.0 SDK
- SQL Server (or SQL Server Express/LocalDB)
-
Clone the repository
git clone https://github.com/MazenMahmoud21/HealthCare.git cd HealthCare -
Restore dependencies
dotnet restore
-
Update database connection string
Edit
appsettings.jsonwith your SQL Server connection string:{ "ConnectionStrings": { "DefaultConnection": "Server=YOUR_SERVER;Database=HealthcareDB;Trusted_Connection=True;" } } -
Apply database migrations
dotnet ef database update
-
Run the application
dotnet run
-
Open in browser
http://localhost:5049
Admin panel with system statistics and user management
List of all doctors with specializations and fees
Patient health overview and management
HealthCare/
├── Controllers/ # MVC Controllers
│ ├── AccountController.cs
│ ├── AppointmentController.cs
│ ├── DoctorController.cs
│ ├── PatientController.cs
│ └── ...
├── Models/ # Data Models & DTOs
│ ├── Patient.cs
│ ├── Doctor.cs
│ ├── Appointment.cs
│ └── DTOs/
├── Views/ # Razor Views
│ ├── Account/
│ ├── Appointment/
│ ├── Doctor/
│ ├── Patient/
│ └── Shared/
├── Data/ # Database Context
├── wwwroot/ # Static Files (CSS, JS)
└── Program.cs # Application Entry Point
| Role | Access Level |
|---|---|
| Admin | Full access - manage all users, doctors, patients, appointments |
| Doctor | View patients, manage appointments, create prescriptions & records |
| Patient | Book appointments, view own records and prescriptions |
- GitHub: @MazenMahmoud21
- GitHub: @Hazem-esam
Made with ❤️

