A simple and user-friendly web application for managing patients and their prescribed medicines. Built with ASP.NET Core MVC (.NET 8), Entity Framework Core, SQL Server, and styled using Tailwind CSS.
- π Doctor-only access (no roles implemented for simplicity)
- β Add, Edit, and Delete Patients
- π Add, Edit, and Delete Medicines for each patient
- π Search and filter patients
- π Pagination (5 patients per page)
- π§Ύ View detailed patient history with medicine timeline
- π±οΈ AJAX-based delete confirmation (with modal and toast message)
- π§© Responsive and clean UI with Tailwind CSS
- π― Lucide icons integration for better UX
- ASP.NET Core MVC (.NET 8)
- Entity Framework Core (Code-First)
- SQL Server
- Tailwind CSS
- jQuery (for AJAX)
- Lucide Icons
aspnet-core dotnet-8 mvc tailwindcss sql-server crud medical-system
PatientManagement/ β βββ Controllers/ β βββ PatientController.cs β βββ MedicineController.cs β βββ Models/ β βββ Patient.cs β βββ Medicine.cs β βββ Views/ β βββ Patient/ β β βββ Index.cshtml β β βββ Create.cshtml β β βββ Edit.cshtml β β βββ Details.cshtml β βββ Medicine/ β β βββ Edit.cshtml β βββ Shared/ β βββ _Layout.cshtml β βββ Data/ β βββ ApplicationDbContext.cs β βββ wwwroot/ β βββ css, js, lib (static files, Tailwind, jQuery) β βββ appsettings.json βββ Program.cs