Saevix LogoSaevix
HomeWorkAboutServicesContact

Social Media

Web Development

Saevix Software Agency — CureBay

Secured telemedicine infrastructure scaling to 15,000+ consultations

Timeline

3 Months

Role

Lead Frontend Developer

Stack

ReactViteTailwind CSSExpressMongoDB+2
CureBay

The Problem

CureBay needed a unified healthcare e-commerce platform handling sensitive telemedicine consultations, prescription fulfillments, and lab test bookings. The legacy system suffered from fragmented user roles, leading to privacy risks and a disjointed checkout flow that caused high drop-off rates for elderly patients.

The Approach

We built a monolithic but highly modular React application using Vite for rapid HMR during development. To handle the complex Role-Based Access Control (RBAC) across Patients, Doctors, and Admins, we implemented strict Route Guards linked to encrypted JWTs via Express and MongoDB. For secure real-time messaging during consultations, we opted for Firebase's Firestore rather than building a custom WebSocket server, which significantly accelerated our time-to-market while guaranteeing HIPAA-compliant data transit.

The Result

The unified platform successfully processed over 15,000 consultations in its first phase. By integrating Stripe elements directly into the prescription generation flow, we cut the booking lead time by 35% and achieved a 99.8% accuracy rate in automated prescription routing.

Lessons

While Firebase Firestore handled the real-time chat flawlessly, structuring complex relational queries (like finding all prescriptions written by a specific doctor for a specific patient segment) became expensive. In future medical builds, we would implement PostgreSQL with a GraphQL layer to handle the complex relational querying while keeping Firebase strictly for the pub/sub chat layer.

Results

15k+

Consultations

99.8%

Routing Accuracy

-35%

Booking Time

Gallery

Telemedicine Portal Storefront
Telemedicine Portal Storefront
Doctor Consultation Console
Doctor Consultation Console