VirtualPR/README.md

37 lines
742 B
Markdown

# VirtualPR
Pulmonary rehabilitation admin: Hapi + MongoDB backend, UBold React frontend.
## Run locally
MongoDB must be running on `127.0.0.1:27017`.
```bash
# 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.