Cogni XR Health
VR-assisted telemedicine platform for therapy

- Role
- Lead Developer
- Timeline
- ~2021/22 – Feb 2023
- Context
- Contract · healthcare client in Canada
Tech & skills
- Laravel
- React
- WebRTC
- Agora SDK
- Stripe
- Firebase
- Docker
- GCP
- GitHub Actions
About
A telemedicine SaaS for AI and VR-assisted mental-health therapy, built to HIPAA and Canadian healthcare compliance requirements. Clinics used it to manage patients, subscriptions and therapy sessions.
It came to me as templates and bare-bones authentication. Over roughly a year I built substantially the whole platform on top of that.
What I built
- Built a multi-role system with separate dashboards for super admins, enterprise admins, therapists and patients.
- Implemented appointments and bookings, calendar management, time tracking and payment tracking, with Stripe handling billing.
- Built the video-session layer: a custom WebRTC application using the Agora SDK, embedded as React via React Portals inside the Laravel app to get SPA behaviour where it was needed, plus a Google Meet integration.
- Worked with an AI engineer to add real-time emotion detection to the therapist’s view during sessions.
- Added Firebase-backed real-time messaging for notifications and an in-app inbox.
- Built multi-language support across English, French, Spanish, Portuguese and German, translating dynamically through the Google Translate API and caching results in the database.
Outcome
Delivered and deployed. First hosted on MedStack for its compliance guarantees, then migrated to GCP — Compute Engine, Cloud SQL, and Memorystore for cache and queues — with GitHub Actions CI/CD pushing images to Artifact Registry.
I stepped away in early 2023 when the scope expanded beyond what I could commit to.
What I took away
- This was where I learned Docker properly. I had come from Apache and LAMP on Ubuntu VPSes, got the app containerised on MedStack, and watched it perform badly — which is what taught me the difference between containerised and actually deployed well.
- The GCP migration was the payoff: the same Docker setup, on infrastructure I understood, performing the way it should have from the start.
- Compliance constrains architecture before you write any code. In healthcare, where data can live determines the stack.