|
|
||
|---|---|---|
| backend | ||
| docs | ||
| frontend | ||
| July 2026 Session_Data_2026-07-01_to_2026-07-31.xlsx | ||
| README.md | ||
| active-patients-import-sample.csv | ||
| deploy.sh | ||
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
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.