Platform Overview
Understand the full architecture, portals, and capabilities of The Care Nexus.
Updated June 2026 8 min read
The Care Nexus is structured as a unified SaaS platform with three independent portals sharing a single backend API and real-time infrastructure...
The Three Portals
Patient Portal
The patient-facing portal provides end-to-end healthcare management...
Doctor Portal
The doctor portal is optimized for clinical workflow speed...
Clinic Administration Portal
Clinic administrators manage the operational and business layer...
Tech Stack at a Glance
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 15, React 19, Tailwind CSS v4 | SSR, routing, responsive UI |
| State | Redux Toolkit + RTK Query | API data fetching and caching |
| Backend | Node.js + Express.js | REST API, business logic |
| Database | MongoDB Atlas + Mongoose | Primary data store |
| Cache | Upstash Redis | Sessions, rate limiting, chat cache |
| AI | Google Gemini + GROQ API | Chatbot, transcription, parsing |
| Realtime | Socket.IO | Live chat, notifications |
| Auth | JWT + bcrypt | Secure token-based authentication |
| i18n | next-intl | English/Urdu with RTL switching |
| Deployment | Vercel + Render + MongoDB Atlas | Production hosting |
Data Flow
When a patient books an appointment, the request hits POST /api/patient/appointments...
Request Authentication
Every protected API route requires a valid JWT access token...
Multi-tenant Architecture
Each clinic is a separate entity...