π Features β’ πΉ Video Calls β’ π©Ί Specialties β’ β‘ Tech Stack β’ π Demo Credentials β’ π Quick Start β’ π‘ API Reference
Wellora (HealthifNow) is a full-stack, enterprise-grade healthcare platform designed to streamline doctor appointments, real-time live video consultations, patient management, medical payment processing, and AI-driven health assistance.
The application is structured into three primary modules:
- π©Ί Patient Portal (
/frontend): Allows users to find trusted doctors by specialty, book interactive appointment slots, join HD real-time WebRTC video calls with doctors, make online payments via Razorpay/Stripe, explore health blogs, and chat with Groq AI. - π οΈ Admin & Doctor Panel (
/admin): Gives administrators full control over doctor profiles, verification, and platform analytics, while offering doctors their own dedicated dashboard with live video consultation capability, quick prescription notes, and earnings tracking. - βοΈ REST API & Real-Time Backend (
/backend): High-performance Node.js/Express server handling Socket.IO WebRTC signaling, JWT security, MongoDB Atlas operations, and Cloudinary media hosting.
Wellora features an integrated, high-definition WebRTC Video Call System powered by Socket.IO real-time signaling, enabling remote patients and doctors to consult seamlessly from anywhere:
- πΉ Peer-to-Peer Video & Audio: Ultra-low latency encrypted P2P stream using native browser WebRTC.
- π¬ In-Call Medical Chat & Notes: Live text chat drawer allowing doctors to send clinical notes and instant prescription advice during consultations.
- π Quick Prescription Templates: Doctor-centric quick action buttons to instantly send common prescription advice (e.g. hydration, fever/pain meds).
- π₯οΈ Screen Sharing: Seamless browser screen sharing for presenting medical reports and diagnostics.
- π Re-Join Consultation Access: Patients and doctors can initiate or re-join video calls for active, confirmed, or completed appointments.
- π¨ Virtual Camera Fallback: Automated synthetic stream canvas generator ensuring full call UI operation even when webcams/microphones are restricted or unavailable.
| General Physician | Gynecologist | Dermatologist |
|---|---|---|
| Pediatrician | Neurologist | Gastroenterologist |
|---|---|---|
Β Β Β Β Β Β Β Β
βββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββ
β Patient Web Portal β β Admin & Doctor Panel β
β (React 18 + Vite) β β (React 18 + Vite) β
βββββββββββββββ¬ββββββββββββββ βββββββββββββββ¬ββββββββββββββ
β β
βββββββββββββββββββ¬βββββββββββββββββ
β HTTP / Socket.IO
βΌ
βββββββββββββββββββββββββββββββββ
β Express & Socket.IO Server β
β (Port 4000 + WebRTC Signal) β
βββββββββββββββββ¬ββββββββββββββββ
β
ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
βΌ βΌ βΌ
ββββββββββββββββββββ ββββββββββββββββββββ ββββββββββββββββββββ
β MongoDB Atlas β β Groq Cloud AI β β Cloudinary CDN β
β (Doctor/User DB)β β(Llama 3 Compound)β β (Image Storage) β
ββββββββββββββββββββ ββββββββββββββββββββ ββββββββββββββββββββ
- π Specialty Filtering: Instantly filter medical specialists across 6 key disciplines (General Physician, Gynecologist, Dermatologist, Pediatrician, Neurologist, Gastroenterologist).
- πΉ Live Video Consultations: Connect face-to-face with assigned doctors via WebRTC encrypted video calls.
- π Dynamic Slot Selection: Select preferred appointment dates and times with instant confirmation.
- π³ Multi-Gateway Checkout: Secure online payment integration with Razorpay and Stripe.
- π° Health & Wellness Blog: Discover doctor-written articles with category filtering, keyword search, and modal article view.
- π€ Groq AI Health Assistant: 24/7 intelligent health Q&A assistant powered by Groq's high-speed LLM engine.
- πΉ Doctor Video Room: Conduct live patient consultations with in-call chat, screen sharing, and quick prescription tools.
- π Analytical Dashboard: View total revenue, appointment volume, and patient statistics in real-time.
- β Doctor Onboarding: Register new doctors with image upload directly hosted on Cloudinary CDN.
- ποΈ Schedule & Status Management: Mark appointments complete, handle cancellations, and toggle doctor availability.
| Role | Access URL | Default Email | Password |
|---|---|---|---|
| π System Admin | http://localhost:5174 |
[email protected] |
admin123 |
| π©Ί Doctor | http://localhost:5174 |
[email protected] |
doctor123 |
| π€ Patient | http://localhost:5173/login |
Create any account via Sign Up | Your Password |
| Domain | Technology | Description |
|---|---|---|
| Frontend App | React 18, Vite, Tailwind CSS | High-performance SPA with modern UI |
| Admin Panel | React 18, Vite, Tailwind CSS | Administrative & doctor management portal |
| Backend API | Node.js, Express.js | Scalable RESTful API service |
| Real-Time Video | WebRTC API, Socket.IO | Peer-to-peer live video stream & signaling |
| Database | MongoDB Atlas, Mongoose | NoSQL database for users & appointments |
| AI Assistant | Groq SDK (groq/compound-mini) |
Ultra-fast LLM response engine |
| Media Host | Cloudinary API | Cloud storage for profile photos |
| Payments | Razorpay & Stripe SDK | Secure online payment verification |
HealthifNow/
βββ backend/ # REST API Express Server & Socket.IO Signaling
β βββ config/ # MongoDB & Cloudinary SDK setup
β βββ controllers/ # Business logic (User, Doctor, Admin, Chatbot)
β βββ models/ # Mongoose Schemas (User, Doctor, Appointment)
β βββ routes/ # API Router declarations
β βββ server.js # HTTP & Socket.IO Real-time server
β βββ resetDoctors.js # Auto-seed script for doctors database
βββ frontend/ # Patient Portal Web App
β βββ src/
β βββ assets/ # Project images, icons, and SVG illustrations
β βββ components/ # Reusable UI (Navbar, Footer, DoctorCards)
β βββ context/ # Global State (AppContext)
β βββ pages/ # Views (Home, Doctors, VideoCall, Blogs, Profile)
βββ admin/ # Admin & Doctor Management Dashboard
βββ src/
βββ context/ # Admin & Doctor Contexts
βββ pages/ # Dashboards, DoctorVideoCall & Doctor Management
git clone https://github.com/keshavagr025/HealthifNow.git
cd HealthifNowPORT=4000
MONGODB_URI=your_mongodb_connection_string
DB_NAME=healthifnow
GROQ_API_KEY=gsk_your_groq_api_key_here
JWT_SECRET=supersecretjwtkey
ADMIN_EMAIL[email protected]
ADMIN_PASSWORD=admin123
STRIPE_SECRET_KEY=sk_test_dummy
RAZORPAY_KEY_ID=rzp_test_dummy
RAZORPAY_KEY_SECRET=dummy_secret
CURRENCY=INR
CLOUDINARY_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secretVITE_BACKEND_URL=http://localhost:4000
VITE_RAZORPAY_KEY_ID=rzp_test_dummyVITE_BACKEND_URL=http://localhost:4000
VITE_CURRENCY=INRcd backend
npm install
node server.js(Optional) Seed clean initial doctor dataset:
node resetDoctors.jscd frontend
npm install
npm run devπ Opens at http://localhost:5173
cd admin
npm install
npm run devπ‘οΈ Opens at http://localhost:5174
POST /api/user/register- Create patient accountPOST /api/user/login- Patient authenticationGET /api/user/get-profile- Retrieve user profile detailsPOST /api/user/book-appointment- Create doctor appointmentGET /api/user/appointments- List user appointment historyGET /api/user/appointment-detail/:appointmentId- Fetch appointment details for Video Call sessionPOST /api/user/payment-razorpay- Process Razorpay transaction
POST /api/admin/login- Admin loginPOST /api/admin/add-doctor- Add doctor (uploads avatar to Cloudinary)GET /api/admin/all-doctors- Fetch all doctorsGET /api/admin/dashboard- Get overall stats
POST /api/doctor/login- Doctor loginGET /api/doctor/list- Fetch public doctors listGET /api/doctor/appointments- Get doctor schedulePOST /api/doctor/change-availability- Toggle doctor status
POST /api/chatbot- Query Groq AI Health Assistant