Gaze-based nurse-call system for elderly patients. Patients communicate using eye gaze; nursing staff manage calls via a dashboard; families receive AI-generated summaries.
Browser requirement: Chrome 90+ or Edge 90+ (Web Speech API).
See docs/ARCHITECTURE.md for system design and docs/TECH_STACK.md for dependency details.
- Install dependencies
npm install- Copy
.env.exampleto.env.localand fill in all required keys:
cp .env.example .env.localRequired variables:
NEXT_PUBLIC_EYEDID_LICENSE_KEY— Eyedid/seeso gaze SDK licenseNEXT_PUBLIC_FIREBASE_*— Firebase project config (6 variables)GEMINI_API_KEY— Server-side Gemini API key (AI triage)
See docs/TECH_STACK.md for the full variable list.
- Start dev server
# PowerShell policy-safe
npm run dev:node- Fast local check (gaze-related lint + tests):
npm run run:quality- CI-equivalent full check with artifact log:
npm run run:verifyrun:verify writes logs to .artifacts/verify/.
- Auto run on file change (app/components/hooks/lib/types):
npm run run:autorun:auto runs run:quality once at startup, then reruns when target files change.
GitHub Actions workflow is in .github/workflows/ci.yml and runs:
npm cinpm run run:verify- uploads
.artifacts/verify/**