The Dispensary Management System is a comprehensive healthcare solution built using the MERN stack (MongoDB, Express.js, React.js, and Node.js). It streamlines the management of dispensaries by providing a secure, efficient, and user-friendly platform for handling patient appointments, prescriptions, and medical history.
- Secure Login/Logout: Authentication and authorization for doctors, staff, and patients. Sensitive medical information is safeguarded with JWT and secure session management.
- Appointment Management: Patients can easily schedule appointments, and doctors can track their upcoming appointments.
- Doctor Prescription Component: Doctors can digitally generate, save, and send prescriptions to patients. These prescriptions are securely stored.
- Patient History Management: The system stores a detailed medical history for each patient, allowing doctors to view past prescriptions and treatments.
- MongoDB: NoSQL database for managing medical records, prescriptions, and patient data.
- Express.js: Backend framework for handling API requests and server-side operations.
- React.js: Frontend library for building user interfaces and managing component states.
- Node.js: JavaScript runtime environment to execute server-side code.
- JWT: For secure login/logout functionality.
- HTML: For structuring web forms and pages.
- CSS/Tailwind CSS: For styling the frontend with responsive designs.
- JavaScript: For client-side validation and dynamic behaviors.
- Schedule appointments
- Create and manage prescriptions
- View patient history
- Update profile and password
- Book appointments
- View medical history and receive prescriptions
- Update profile and password
- Login: Secure login for doctors and patients.
- Appointment Scheduling: Patients book appointments, and doctors are notified.
- Prescription Generation: Doctors generate and send prescriptions to patients.
- View Medical History: Both doctors and patients can view previous prescriptions and medical history.
- Integration with third-party healthcare systems: To allow patient record sharing across healthcare institutions.
- AI-based diagnostic tools: To assist doctors in treatment recommendations.
- Telemedicine: Enabling remote consultations between doctors and patients.
The Dispensary Management System improves operational efficiency and patient care by digitizing key processes. It ensures secure and scalable management of patient records, appointments, and prescriptions, providing real-time updates and an intuitive user interface. The system is also designed for future expansion, including telemedicine features and advanced analytics.
To get started, clone the project repository using the following command:
git clone https://github.com/vinaytheprogrammer/DispensaryMinor/
cd dispensary-management-system
For the backend:
cd backend
npm install
For the frontend:
cd dispensary-management
npm install
You need to create a .env
file in the root of the backend
folder with the following environment variables:
JWT_SECRET=your_jwt_secret
To start both the backend and frontend servers:
cd backend
node start
This will run the backend server on http://localhost:5000
.
In a new terminal window/tab, run the frontend:
cd dispensary-management
npm start
This will run the frontend server on http://localhost:3000
.
Once both servers are running, you can access the application in your browser at:
http://localhost:3000
Now you're all set!