Skip to content

imanmay2/NexCare

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 Telemedicine platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors