NexCare is a unified digital health ecosystem that connects patients, doctors, and pharmacies on a single platform β from booking a consultation to getting a digital prescription to having medicines delivered to your door. One login. One platform. Zero friction.
- π‘ The Problem
- β¨ The Solution
- πΈ Product Preview
- β‘ Features
- π§ Tech Stack
- ποΈ System Architecture
- π Project Structure
- π Getting Started
- π Environment Variables
- πΊοΈ Roadmap
- π₯ Team
- π€ Contributing
- β Star History
- π¬ Connect
Healthcare access today is broken into silos:
| Pain Point | Reality Today |
|---|---|
| π₯ Fragmented Journey | Booking a doctor, getting a prescription, and ordering medicines happen on 3 different apps (or none at all) |
| β³ Time-Consuming | Long queues, manual paperwork, and repeated history-sharing at every visit |
| π Limited Access | Quality specialists are concentrated in cities, leaving smaller towns underserved |
| π§Ύ No Continuity | Prescriptions and health records get lost between visits, doctors, and pharmacies |
NexCare unifies the entire care loop β consultation β prescription β medication β into a single, role-aware platform for Patients, Doctors, and Pharmacies.
Patient books appointment β Doctor consults & prescribes β Pharmacy fulfills & delivers
π§βπ» π©Ί π
We're not building "just another booking app" β we're building the connective tissue of digital healthcare, with AI-assisted triage, real-time communication, and a payments layer baked in from day one.
π§βπ» Patient Dashboard |
π©Ί Doctor Dashboard |
π Pharmacy Portal |
π§Ύ Digital Prescription |
| π§βπ» Patient | π©Ί Doctor | π Pharmacy |
|---|---|---|
|
|
|
| Legend | Meaning |
|---|---|
| β | Shipped & working |
| π | In active development |
| π | Planned / Upcoming |
| Layer | Technologies |
|---|---|
| Frontend | React.js, TypeScript, Vite, Tailwind CSS, Axios |
| Backend | Go, Gin Framework, REST APIs, WebSockets (Gorilla) |
| Database | PostgreSQL (Supabase), JSONB for flexible health records, Redis for caching/sessions |
| AI / LLM | Agentic AI pipeline for symptom checking with voice input |
| Payments | Razorpay API for appointment booking & checkout |
| Cloud & DevOps | Docker, AWS (EC2, S3), Render, Netlify, GitHub Actions (CI/CD) |
flowchart TB
subgraph Client["π₯οΈ Frontend β React + Vite + TypeScript"]
UI["Patient Β· Doctor Β· Pharmacy Portals"]
end
subgraph Server["βοΈ Backend β Go + Gin"]
API["REST API Layer"]
MW["JWT Auth + Role-Based Access Control"]
SVC["Core Services β Appointments, Prescriptions, Orders"]
AI["AI Symptom Checker (Voice Input)"]
WS["WebSocket Layer (Gorilla) β Realtime Chat & Video β Upcoming"]
end
subgraph Data["ποΈ Data Layer"]
PG[("PostgreSQL + JSONB\n(Supabase)")]
REDIS[("Redis\nSession & Cache")]
end
subgraph External["π External Integrations"]
PAY["Razorpay Payments"]
PUB["Notifications β Upcoming"]
end
UI -- "HTTPS / REST" --> API
UI -. "WebSocket (Upcoming)" .-> WS
API --> MW --> SVC
SVC --> PG
SVC --> REDIS
SVC --> PAY
SVC --> AI
WS --> SVC
SVC -.-> PUB
πΉ Backend (Go + Gin)
backend/
βββ config/
β βββ db.go
β βββ redis.go
β
βββ controllers/
β βββ doctor.go
β βββ patient.go
β βββ users.go
β
βββ middleware/
β
βββ models/
β βββ DoctorModel.go
β βββ PatientModel.go
β βββ UserModel.go
β
βββ routes/
β
βββ util/
β
βββ .env
βββ go.mod
βββ go.sum
βββ main.go
πΉ Frontend (React + Vite + TypeScript)
client/
βββ src/
β βββ components/
β βββ guidelines/
β βββ styles/
β βββ utils/
β βββ App.tsx
β βββ main.tsx
β
βββ index.html
βββ package.json
βββ vite.config.ts
βββ .env
git clone https://github.com/imanmay2/NexCare.git
cd NexCarecd backend
go mod tidy
go run main.gocd client
npm install
npm run devπ The app should now be running locally β backend on http://localhost:8080 and frontend on http://localhost:5173.
Backend .env
PORT=8080
DATABASE_URL=your_postgresql_url
JWT_SECRET=your_jwt_secret
REDIS_URL=your_redis_url
RAZORPAY_KEY_ID=your_razorpay_key
RAZORPAY_KEY_SECRET=your_razorpay_secretFrontend .env
VITE_API_BASE_URL=http://localhost:8080
VITE_RAZORPAY_KEY=your_razorpay_public_key- Core REST APIs (Patients, Doctors, Pharmacies)
- JWT authentication & role-based access control
- PostgreSQL + JSONB health records
- Razorpay payment integration
- AI-powered symptom checker with voice input
- Redis session caching β in progress
- Real-time chat via WebSockets (Gorilla)
- Video & audio consultations (WebRTC)
- Notification system
- Health analytics dashboard
- Pharmacy inventory & delivery tracking
NexCare is built by a small, focused team combining engineering depth with real-world medical insight.
![]() Manmay Chakraborty π» Backend & System Design GitHub Β· LinkedIn |
![]() Soumadeep Choudhury (MBBS) π©Ί Medical Insights & Product Direction GitHub |
Contributions, issues, and feature requests are welcome!
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request







