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.
- 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)
- ASP.NET Core with Clean Architecture
- Entity Framework Core 8
- React with TypeScript
- Axios for API requests
- Redux Toolkit for state management
- Ant Design (Antd) for UI components
- Windows Forms .NET
- Open the backend directory in visual studio
- Create a SQL Server database named "HospitalManagement".
- Update the database connection in
api/appsettings.json
andData/ApplicationDbContext.cs
- Update the database with Initial migration file:
update-database
- To run
Seed.cs
file in the terminal rundotnet run seeddata
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
Open the AppDesktop directory. Run the application in Visual Studio.
If you find any bugs or would like to optimize the code, feel free to contribute. Pull requests are welcome!