Gokkul.dev
Back to all projects
Freelance / Full Stack · 2026

Healthcare Platform

Telemedicine & Doctor Booking

healthcare-platform — experience preview (simulation)
Live sim

Meera's lands second. The server sees the slot is taken and refunds her automatically.

Book a consult

Problem

Home healthcare needed one place for patients to book, video-consult, and pay a doctor — instead of three disconnected tools.

Approach

  • Built a full-stack telemedicine platform with 90+ REST APIs, real-time doctor-patient chat (Socket.IO + Firebase FCM), and Agora video calling.
  • Multi-gateway payments (Razorpay, Stripe, FlutterWave) with subscription plans, doctor wallets, and withdrawal workflows.
  • Modeled a 59-collection MongoDB schema; built a Next.js 14 admin panel (TypeScript, Redux Toolkit, ApexCharts, AWS S3).

Result

A single platform where a patient books, video-calls, and pays a doctor, and the doctor manages appointments, wallet payouts, and reporting end to end.

Stack

Node.jsExpress.jsMongoDBSocket.IONext.js 14TypeScriptRedux ToolkitAWS S3RazorpayStripeAgoraFirebase

The preview above replays the hardest moment of this project's Experience, drawn from the same simulation code. Click it to try the whole thing yourself.

Under the hood

A simplified excerpt of the core logic and how a request flows through the system.

// routes/wallet.route.js
router.post(
"/wallet/withdraw",
auth, rbac("doctor"),
async (req, res) => {
const wallet = await Wallet.findOne(
{ doctor: req.user.id }
);
if (wallet.balance < req.body.amount)
return res.status(400).json({ ...});
await payoutQueue.add("payout", {
walletId: wallet._id
});
}
);

Request flow

Next.js 14 client + admin
Express API — 90+ routes
MongoDB — 59 collections

Connects to

Socket.IOAgora videoRazorpay / StripeAWS S3

More projects