Health Compass is a patient ability assessment web app that guides caregivers through structured, MCQ-based cognitive and daily-function tests. It generates age-, gender-, and occupation-aware question sets and presents clear scoring with visual summaries.
- Profile-based test generation (age, gender, occupation)
- Five-domain assessment flow: Global, Episodic Memory, Executive, Language, Functional
- MCQ-only questions with 1-mark scoring
- Visual results with radar profile and progress bars
- Secure auth flow and protected test routes
- Frontend: React, React Router
- Backend: Node.js, Express
- Logic: Proprietary Assessment Engine
- backend/: API server, adaptive test generation, auth
- frontend/: React UI
If you have Docker and Docker Desktop installed, you can run the entire stack with a single command:
- Configure Engine Key: Open
docker-compose.ymland paste your key in theGEMINI_API_KEYfield underhealthcompass-backend. - Start Services:
docker-compose up --build
- Access the App:
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
- ML Service: http://localhost:5001
- Create
backend/config.envwith your secrets:
PORT=5000
GEMINI_API_KEY=your_key_here
JWT_SECRET=your_jwt_secret
MONGO_URI=mongodb://localhost:27017/healthcompass
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your_gmail_address@gmail.com
EMAIL_PASS=your_gmail_app_password
- Install and run:
cd backend
npm install
node server.jscd frontend
npm install
npm start- Do not commit backend/config.env (it is ignored).
- New tests are calibrated based on patient profiles.
MIT