VirtualPR
Go to file
Ravi Gulhane fac3c2bfe1 Changes 2026-10-22 13:13:28 +05:30
backend 1. Cohort sessions can be saved with different schedule types. 2026-10-15 15:24:06 +05:30
docs first commit 2026-10-13 10:13:39 +05:30
frontend Changes 2026-10-22 13:13:28 +05:30
July 2026 Session_Data_2026-07-01_to_2026-07-31.xlsx first commit 2026-10-13 10:13:39 +05:30
README.md first commit 2026-10-13 10:13:39 +05:30
active-patients-import-sample.csv Changes 2026-10-22 13:13:28 +05:30
deploy.sh first commit 2026-10-13 10:13:39 +05:30

README.md

VirtualPR

Pulmonary rehabilitation admin: Hapi + MongoDB backend, UBold React frontend.

Run locally

MongoDB must be running on 127.0.0.1:27017.

# backend
cd backend
cp .env.example .env
npm install
npm run dev

# frontend
cd frontend
npm install
npm run dev

Open http://localhost:5173

Seeded Super Admin (created on first API start):

  • Email: superadmin@stratawiz.com
  • Password: Qwerty@123

Stack

  • Backend: Node.js, Hapi, Mongoose, JWT (@hapi/jwt), Joi, ExcelJS
  • Frontend: UBold v7.1.0 (Vite, React, Bootstrap 5)

Import

Use an .xlsx file with the same columns as backend/samples/July 2026 Session_Data_2026-07-01_to_2026-07-31.xlsx. Patients are upserted by Patient ID; sessions by Session ID.