Skip to content

shambavi2007/Healthcare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Healthcare Management System

A full-stack healthcare application with JWT auth, appointments, health monitoring, EHR, and risk prediction.

Tech Stack

  • Frontend: React (Vite) + Tailwind CSS + Recharts
  • Backend: Node.js + Express
  • Database: MongoDB (Mongoose)
  • Auth: JWT + bcrypt

Quick Start

Backend

cd backend
cp .env.example .env   # Edit MONGODB_URI and JWT_SECRET
npm install
npm run seed           # Optional: seed demo data
npm run dev

Frontend

cd frontend
cp .env.example .env   # Set VITE_API_URL=http://localhost:5000/api
npm install
npm run dev

Seed Accounts

  • Patient: ravi@patient.com / password123
  • Doctor: amit@doctor.com / password123
  • Health Worker: vijay@healthworker.com / password123
  • Admin: admin@admin.com / password123

Features

  • Auth: JWT login/register, role-based access (Patient, Doctor, Health Worker, Admin)
  • Appointments: Book in-person/teleconsultation, doctor availability
  • Health Monitoring: BP, sugar, heart rate, oxygen, temp, weight
  • Risk Logic: 3+ abnormal readings in 7 days → HIGH RISK
  • EHR: Diagnosis, prescriptions, lab reports, medication tracking
  • Doctor Dashboard: Filter patients, view high-risk, health trends
  • Alerts: Abnormal health, appointment reminders

Deployment

  • Frontend: Vercel (set VITE_API_URL to backend URL)
  • Backend: Render/Railway (set MONGODB_URI, CORS_ORIGIN, JWT_SECRET)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors