The Hospital Management System is designed to streamline the operations of a hospital or medical center. This system facilitates efficient management of patient records, appointments, doctor details, and other administrative tasks, ensuring seamless coordination between different departments.
- Patient Management: Register new patients, update existing records, and maintain comprehensive patient histories.
- Appointment Scheduling: Book appointments with ease.
- Doctor Management: Manage doctor profiles, roles, and schedules to ensure optimal resource allocation.
- Frontend: React, Tailwind CSS
- Backend: Node. js , express
- Database: MySQL
-
Clone the repository:
git clone https://github.com/Faizan-313/Hospital-Management-System.git
-
Navigate to the project directory:
cd Hospital-Management-System -
Install dependencies:
-
For the backend:
cd Backend npm install -
For the frontend:
cd Frontend npm install
-
-
Set up the database:
- Set up the database, using query.sql file
-
Configure environment variables:
- SALT_ROUNDS
- JWT_SECRET
- DB_HOST
- DB_PASSWORD
- DB_NAME
- DB_USER
- ADMIN_EMAIL
- ADMIN_PASSWORD
-
Start the application:
-
For the backend:
nodemon server.js
-
For the frontend:
npm run dev
-
-
Access the application:
- Open your browser and navigate to
http://localhost:5173 - Login as admin then add Doctors in doctors tab
- Open your browser and navigate to
We welcome contributions to enhance the functionality of this Hospital Management System. To contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/YourFeatureName
-
Make your changes and commit them:
git commit -m 'Add some feature' -
Push to the branch:
git push origin feature/YourFeatureName
-
Open a pull request.
MIT License