This project is a Patient Management System developed with ASP.NET Core MVC (.NET 8) following the Onion Architecture pattern.
The Patient Management System is designed to manage the different operations of a healthcare clinic, offering features such as:
- Login and Registration: Secure login and registration of administrator users.
- User Management (Admin only): Create, edit, and delete system users (Admin or Assistant).
- Doctor Management (Admin only): Manage doctor profiles with details and photos.
- Laboratory Tests Management (Admin only): Create, edit, and delete lab tests.
- Patient Management (Assistant only): Register and manage patients' data.
- Lab Results Management (Assistant only): Report lab results and manage pending results.
- Appointments Management (Assistant only): Schedule, consult, and complete patient appointments.
- HTML
- CSS
- Bootstrap
- ASP.NET Razor Pages
- C# with ASP.NET Core MVC 8
- Microsoft Entity Framework Core
- Microsoft Entity Framework Core SQL Server
- Microsoft Entity Framework Core Tools
- Microsoft Entity Framework Core Design
- Entity Framework Code First
- Onion Architecture (100% properly applied)
- Generic Repository and Service Pattern
- Entity Framework
- SQL Server
Before running the Patient Management System, make sure you have the following installed:
- Visual Studio 2022 or later
- ASP.NET Core 8
- SQL Server (local or remote)
-
Download the project or clone it.
-
Open the project in Visual Studio 2022.
-
Configure the database connection:
-
Open the
appsettings.Development.jsonfile. -
Update the
Servername to match your local environment, for example:{ "ConnectionStrings": { "DefaultConnection": "Server=YourServerName;" } // other configurations... }
-
-
In Visual Studio, go to:
- Tools > NuGet Package Manager > Package Manager Console
-
In the Package Manager Console:
- Make sure the Web Application project is selected as the Default Project.
- You can select it from the dropdown menu in the Package Manager Console.
-
In the console, run the following command:
Update-Database
-
Run the project:
- Press F5 or click the Run button. The application will launch automatically in your default web browser.
