Back to Portfolio

R2R Care – Multi-Tenant SaaS

Healthcare platform with dynamic subdomains.

Project Screenshot: /projectimg/r2rcare.png
Live Demo

The Challenge

We needed a single codebase to serve multiple hospitals (tenants), ensuring strict data isolation so Hospital A never sees Hospital B's patients.

The Solution

Implemented a Multi-Tenant architecture using AWS Lambda. We used tenant-IDs in request headers to route queries to specific DocumentDB collections, ensuring logical isolation.

Key Architecture Decisions:

  • AWS API Gateway for routing
  • Custom Middleware for Tenant Identification
  • AWS Cognito for secure role-based auth

Tech Stack

ReactAWS LambdaDocumentDBAmplify

Outcome

"Successfully boarded 5+ clinics on a single infrastructure, reducing hosting costs by 60%."

Shane Alam | Full Stack Developer (MERN & NestJS)