Live Demo 🚀 Next-Gen Telehealth Platform | Secure Doctor-Patient Video Consultations
MediConnect is a full-stack telehealth platform built with modern web technologies to facilitate seamless video consultations between patients and doctors. It features role-based dashboards (Admin, Doctor, Patient), secure WebRTC video calling, appointment scheduling, and digital health records.
- Video Consultations: High-quality, low-latency video calls powered by Vonage
- Appointment Management: View, accept, or reschedule appointments
- E-Prescriptions: Generate and share digital prescriptions
- Patient Profiles: Access medical history securely
- Book Appointments: Find and schedule consultations with verified doctors
- Join Video Calls: One-click access to virtual consultations
- Medical Records: View past consultations and prescriptions
- Secure Payments: Integrated payment gateway
- Doctor Verification: Approve/reject doctor registrations
- Analytics Dashboard: Monitor platform usage & consultations
- User Management: Manage patients, doctors, and system settings
| Category | Technology |
|---|---|
| Frontend | Next.js, React, ShadCN UI, Tailwind CSS |
| Backend | Next.js API Routes |
| Database | PostgreSQL (Neon Serverless) |
| ORM | Prisma |
| Video | Vonage Video API (WebRTC) |
| Auth | Clerk / NextAuth |
| Deployment | Vercel (Frontend), Railway (Backend) |
- Node.js ≥18.x
- PostgreSQL (Neon recommended)
- Vonage API account
- Clone the repository
git clone https://github.com/yourusername/mediconnect.git cd mediconnect - 🛠️ Environment Setup
Create a .env file at the root of your project and add the following variables:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_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
DATABASE_URL=your_neon_postgres_connection_string
NEXT_PUBLIC_VONAGE_APPLICATION_ID=your_vonage_app_id
VONAGE_PRIVATE_KEY=your_vonage_private_key- *Install dependencies
npm install
npx prisma migrate dev