/medistar-hospital-management-system

Medistar Hospital Management system is designed to automate the management of hospital appointments, including the handling of patient records, medical billing, appointment scheduling, and other administrative tasks.

Primary LanguageCSS

html

Medistar Hospital Management System is a web application built using Nodejs,Expressjs,Mongoose,Redis and MongoDB. The system is designed to automate the management of hospital appointments, including the handling of patient records, medical billing, appointment scheduling, and other administrative tasks.

The system allows users to create, read, update, and delete records of patients, doctors, and medical procedures. Patients can schedule appointments with doctors, and doctors can view their schedule and patient records. The system also includes a billing module that generates bills for medical procedures and tracks payments.

Tech Stacks Used

html CSS js ts nodejs express mongo redis npm


Features

  • Authentication
  • APIValidation
  • Responsive
  • Cross Platform
  • Signup/signin/Logout
  • Appointment Booking
  • Appointment Cancelation
  • Admin can perform all crud operations

Run Locally

Clone this Project

https://github.com/faraz412/cozy-passenger-4798.git

Install npm Packages

npm i --global

Go to Backend Folder

cd backend

Run Server

npx nodemon index.js

Runs the project in the development mode

http://localhost:8080

Environment Variables Required

mongoURL

key

PORT

Redis Cloud Password + Host + Port

Nodemailer Password

NPM Packages

bcrypt.png cors dotenv jwt mongoose.png nodemailer nodemon.png otpgen.png redis twilio

API Endpoints

Welcome

GET  /api/

Email Verification

POST  /api/user/emailVerify

User Signup

POST  /api/user/signup

User Signin

POST  /api/user/signin

User Logout

POST  /api/user/logout

USERS DATA...

{"first_name":"harsh thakur",
"last_name":"thakur",
"email":"harsh@gmail.com",
"mobile":"909999345",
"password":"123456"  }

DOCTORS DATA...

{"doctorName":"Abhishek Jaiswal",
"email":"abhisek@gmail.com",
"qualifications":"MBBS from AIMS Delhi",
"experience":"14 years of experience",
"phoneNo":"7011144555",
"city":"Mumbai",
"departmentId":1,
"status":true,
"isAvailable":true;
"image":"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSJO1Bmu2stkBmmOJXmyHN5G7UHmeA4xr5z0whR9JZF&s" }

APPOINTMENT DATA...

{"patientId":"64256f28b1fc4d36b5a12be7",
"doctorId":"6425319914291e303a3cf2c4",
"ageOfPatient":40,
"gender":"male",
"address":"Mumbai woribali",
"problemDescription":"having some problem related to neourology ",
"appointmentDate":"30-03-2023",
"createdAt":,
"updatedAt":,
"paymentStatus":false} 
DB Workflow

Link of Lucid Diagram

Project Highlights