Healthcare when it matters most โ A full-stack telemedicine platform for booking doctor appointments, video consultations, and AI-assisted symptom checking.
SehatLink is a modern doctor appointment and telemedicine platform built for patients, doctors, and admins. It supports appointment booking, HD video calls via Vonage for telemedicine, AI-powered symptom guidance, nearby and curated care, and a credit-based pricing model.
| Category | Description |
|---|---|
| ๐ Authentication | Sign-in/sign-up with Clerk โ email, social logins, and protected routes |
| ๐ Appointments | Book, view, and manage consultations by specialty, doctor profile, and time slots |
| ๐ Video Calls | Vonage Video API (Opentok) for real-time, secure telemedicine consultations from the browser |
| ๐ Nearby & Curated Care | Find doctors by location and get AI-curated recommendations |
| ๐ค Symptom Checker | Gemini AIโdriven symptom guidance to help users decide when to see a doctor |
| ๐ณ Credits & Pricing | Credit-based consultation packages and transparent pricing |
| ๐จโโ๏ธ Doctor Dashboard | Availability, earnings, appointments, and verification workflows |
| ๐ก๏ธ Admin | Verify doctors, manage payouts, and oversee the platform |
| ๐จ UI | Responsive, accessible interface with Tailwind CSS and shadcn/ui |
| ๐๏ธ Data | Neon PostgreSQL + Prisma for secure, scalable storage |
| Layer | Technologies |
|---|---|
| Framework | Next.js 15 (App Router, React Server Components) |
| Styling | Tailwind CSS 4, shadcn/ui, Framer Motion |
| Database | Neon PostgreSQL, Prisma ORM |
| Auth | Clerk |
| Video | Vonage Video API (Opentok) โ @vonage/server-sdk, @vonage/video, opentok |
| AI | Google Gemini API (symptom checker) |
| Deploy | Vercel |
SehatLink leverages Google Cloud Platform (GCP) services to ensure scalability, security, reliability, and AI-powered healthcare experiences.
| Service | Usage |
|---|---|
| Google Cloud Run | Containerized backend services for scalable APIs and background jobs |
| Google Cloud Functions | Serverless execution for event-driven workflows (notifications, triggers) |
| Google Cloud Load Balancer | High availability and traffic distribution |
| Google Cloud IAM | Secure access control and role-based permissions |
| Google Cloud Secret Manager | Secure storage of API keys, database credentials, and secrets |
| Google Cloud Logging & Monitoring | Observability, performance tracking, and error monitoring |
| Google Cloud Storage | Secure storage for medical reports, prescriptions, and user uploads |
| Service | Usage |
|---|---|
| Google Gemini API (via Google AI Studio) | AI-powered symptom checker and health guidance |
| Vertex AI (optional extension) | Future-ready ML pipelines for diagnosis prediction and patient insights |
| Natural Language Processing (NLP) | Symptom understanding and intent classification |
| Recommendation Models | AI-curated doctor and care recommendations |
- End-to-end encryption for video consultations and sensitive data
- IAM-based least privilege access
- HIPAA-aligned architecture (design-ready)
- Audit logs via Google Cloud Logging
- Secure API access using Google Cloud IAM & Secret Manager
| Layer | Platform |
|---|---|
| Frontend | Vercel (Next.js 15) |
| Backend APIs | Google Cloud Run |
| Serverless Jobs | Google Cloud Functions |
| Database | Neon PostgreSQL |
| AI Services | Google Gemini (Google Cloud) |
| Media & Assets | Google Cloud Storage |
| Video Calls | Vonage Video API |
- ๐ Auto-scaling for sudden healthcare demand
- ๐ Enterprise-grade security for sensitive medical data
- ๐ค Best-in-class AI via Gemini & Vertex AI
- ๐ Global low-latency infrastructure
- ๐ก Cost-efficient serverless architecture
- AI-driven early disease detection models (Vertex AI)
- FHIR-compliant healthcare data interoperability
- Real-time health analytics dashboards
- Multi-language AI symptom checking
- Predictive queue & appointment optimization using ML
SehatLink/
โโโ app/
โ โโโ (auth)/ # Sign-in, sign-up
โ โโโ (main)/ # Main app routes
โ โ โโโ admin/ # Admin dashboard
โ โ โโโ appointments/
โ โ โโโ curated-care/
โ โ โโโ doctor/ # Doctor dashboard & verification
โ โ โโโ doctors/ # Browse & book by specialty
โ โ โโโ nearby-care/
โ โ โโโ onboarding/
โ โ โโโ pricing/
โ โ โโโ symptom-checker/
โ โ โโโ video-call/ # Vonage video call UI
โ โโโ api/ # API routes (search, symptom-checker, etc.)
โ โโโ layout.js, globals.css
โโโ actions/ # Server actions (appointments, credits, doctor, etc.)
โโโ components/ # Shared UI (header, pricing, symptom-checker, etc.)
โโโ lib/ # Prisma client, utils, schemas, prompts
โโโ prisma/ # Schema, migrations, seed
โโโ public/
git clone https://github.com/your-username/sehatlink.git
cd sehatlink
npm installCreate a .env file in the project root and add:
# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/onboarding
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding
# Vonage Video (for telemedicine)
NEXT_PUBLIC_VONAGE_APPLICATION_ID=
VONAGE_PRIVATE_KEY=lib/private.key # path to your Vonage private key file
# Database (Neon)
DATABASE_URL="postgresql://..."
# Gemini (symptom checker)
GEMINI_API_KEY=Get Vonage credentials and a private key from the Vonage Video API dashboard; place the key file at lib/private.key or update VONAGE_PRIVATE_KEY accordingly.
npx prisma generate
npx prisma migrate deploy
npm run db:seednpm run devOpen http://localhost:3000.
| Command | Description |
|---|---|
npm run dev |
Start dev server (Turbopack) |
npm run build |
Production build |
npm run start |
Start production server |
npm run lint |
Run ESLint |
npm run db:seed |
Seed database |
| Name | Role |
|---|---|
| Ajeet | Full Stack Developer |
| Alok | Backend Engineer |
This project is private. All rights reserved.
Built with Next.js, Prisma, Neon, Clerk, Vonage, and Google Gemini โ for healthcare thatโs simple and reliable.