Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

145 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typing SVG

GitHub Repo stars GitHub forks Last Commit License Status


🌐 Live Demo  |  💻 Source Code  |  📧 Get in Touch


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.


NexCare Product Demo

↑ Replace this with a screen-recording GIF of the live app in action ↑



📋 Table of Contents


💡 The Problem

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

✨ The Solution

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.


📸 Product Preview

NexCare Landing Page

Landing Page


Patient Dashboard
🧑‍💻 Patient Dashboard
Doctor Dashboard
🩺 Doctor Dashboard
Pharmacy Portal
💊 Pharmacy Portal
Digital Prescription
🧾 Digital Prescription

⚡ Features

🧑‍💻 Patient 🩺 Doctor 💊 Pharmacy
  • ✅ Book doctor appointments
  • ✅ Razorpay-powered payments
  • ✅ Access digital prescriptions
  • ✅ Order medicines from prescriptions
  • ✅ AI symptom checker (voice input)
  • ✅ Health metrics tracking
  • 🔄 Real-time chat
  • 🔜 Video & audio consultations
  • ✅ Manage appointment schedule
  • ✅ Conduct consultations
  • ✅ Generate digital prescriptions
  • ✅ View complete patient history
  • ✅ Role-based secure dashboard
  • 🔄 Live session via WebSockets
  • 🔜 Video consultation room
  • ✅ Receive prescriptions instantly
  • ✅ Process medicine orders
  • ✅ Manage delivery pipeline
  • ✅ Role-based access control
  • 🔜 Inventory sync
  • 🔜 Delivery tracking
Legend Meaning
Shipped & working
🔄 In active development
🔜 Planned / Upcoming

🧠 Tech Stack

Frontend

Backend

Database & Infra


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)

🏗️ System Architecture

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
Loading

📂 Project Structure

🔹 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

🚀 Getting Started

Prerequisites

Go Node PostgreSQL Redis

1️⃣ Clone the repository

git clone https://github.com/imanmay2/NexCare.git
cd NexCare

2️⃣ Backend Setup

cd backend
go mod tidy
go run main.go

3️⃣ Frontend Setup

cd client
npm install
npm run dev

🎉 The app should now be running locally — backend on http://localhost:8080 and frontend on http://localhost:5173.


🔐 Environment Variables

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_secret

Frontend .env

VITE_API_BASE_URL=http://localhost:8080
VITE_RAZORPAY_KEY=your_razorpay_public_key

🗺️ Roadmap

  • 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

👥 Team

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

🤝 Contributing

Contributions, issues, and feature requests are welcome!

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

⭐ Star History


📬 Connect

GitHub LinkedIn Email


💙 If NexCare excites you, drop a star — it really helps!

About

NexCare is the ultimate future of HealthCare Ecosystem

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages