DocDirect is a comprehensive hospital management system built using the MERN stack (MongoDB, Express.js, React, and Node.js). The platform provides an efficient way to manage patient information, appointments, and administrative tasks, enhancing the overall patient and admin experience.
- Patient Management: Easily manage patient records, including personal information, medical history, and appointments.
- Appointment Scheduling: Schedule, reschedule, and cancel appointments with ease.
- Admin Dashboard: A comprehensive dashboard for administrators to manage doctors, patients, and appointments.
- User Authentication: Secure login and registration for patients and admins.
- Responsive Design: A user-friendly interface that works on all devices.
To run DocDirect locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Gibrail404/DocDirect.git cd DocDirect
-
Install backend dependencies:
cd backend npm install
-
Install frontend dependencies:
cd ../frontend npm install
-
Set up environment variables: Create a
.env
file in thebackend
directory and add the following variables:MONGO_URI=<Your MongoDB URI> JWT_SECRET=<Your JWT Secret>
-
Run the application: Open two terminal windows or tabs:
- In the first terminal, run the backend server:
cd backend npm start
- In the second terminal, run the frontend:
cd frontend npm start
- In the first terminal, run the backend server:
-
Access the application: Open your web browser and navigate to
http://localhost:3000
.
After setting up the project, you can log in as an admin or patient to access different features of the application.
- Admin: Can manage doctors, patients, and appointments.
- Patient: Can view and manage their own appointments and medical records.
Check out the Live Demo of DocDirect.
Check out the Admin Dashboard of DocDirect.
Watch a detailed video walkthrough of DocDirect to see all features in action.
We welcome contributions! Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Make your changes and commit them:
git commit -m "Add feature: YourFeature"
- Push to the branch:
git push origin feature/YourFeature
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries or issues, feel free to contact me:
- Email: gibrailzaidi@gmail.com
- GitHub: Gibrail404