Skip to content

shaimaHamila/HospitalManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hospital Management System

The Hospital Management System is a project developed for managing hospital operations efficiently. It consists of a backend API built with ASP.NET Core EF 8, following the principles of Clean Architecture, a web frontend developed using React TypeScript, and a desktop frontend built with Windows Forms .NET.

Features

  • CRUD operations for doctors
  • CRUD operations for patients
  • CRUD operations for services
  • Relationship between doctors and services (many-to-many)
  • Relationship between services and patients (one-to-many)

Technologies Used

Backend (APIs)

  • ASP.NET Core with Clean Architecture
  • Entity Framework Core 8

Frontend (Web)

  • React with TypeScript
  • Axios for API requests
  • Redux Toolkit for state management
  • Ant Design (Antd) for UI components

Frontend (Desktop)

  • Windows Forms .NET

Getting Started

Setting up the Backend:

  1. Open the backend directory in visual studio
  2. Create a SQL Server database named "HospitalManagement".
  3. Update the database connection in api/appsettings.json and Data/ApplicationDbContext.cs
  4. Update the database with Initial migration file: update-database
  5. To run Seed.cs file in the terminal run dotnet run seeddata

Setting up the Frontend (Web):

Open the frontend-web directory. cd frontend-web Install dependencies: npm install Run the development server: npm run dev Or using docker: docker compose up

Running the Desktop App:

Open the AppDesktop directory. Run the application in Visual Studio.

Contributing

If you find any bugs or would like to optimize the code, feel free to contribute. Pull requests are welcome!

Project Screenshots

Screenshot 2024-07-18 123447 Services_managment patient_managment HospitalManagement_swagger edit_doctor doctors_managment doctor_details

About

Asp.net core 8 EF Clean architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published