Skip to content

About

Wellora (HealthifNow) is a full-stack, enterprise-grade healthcare platform designed to streamline doctor appointments, patient management, medical consultation payments, and AI-driven health assistance.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Wellora Logo

πŸ₯ Wellora (HealthifNow)

Next-Generation Healthcare Management & Real-Time Doctor Video Consultation Platform

React Node.js Express Socket.IO WebRTC MongoDB Tailwind CSS Groq AI Cloudinary


🌐 Features β€’ πŸ“Ή Video Calls β€’ 🩺 Specialties β€’ ⚑ Tech Stack β€’ πŸ”‘ Demo Credentials β€’ πŸš€ Quick Start β€’ πŸ“‘ API Reference


πŸ“– Overview

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:

  1. 🩺 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.
  2. πŸ› οΈ 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.
  3. βš™οΈ 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.

πŸ“Ή Real-Time Video Consultations

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.

🩺 Medical Specialties & Doctors Showcase

πŸ”¬ Explore Doctor Specialties

General Physician Gynecologist Dermatologist
Pediatrician Neurologist Gastroenterologist

πŸ‘¨β€βš•οΈ Top Available Medical Specialists


πŸ’³ Integrated Payment Processing


Β Β Β Β Β Β Β Β 

🎨 System Architecture

 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚   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)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

✨ Key Features

πŸ‘¨β€βš•οΈ Patient Web Application

  • πŸ” 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.

πŸ›‘οΈ Admin & Doctor Panel

  • πŸ“Ή 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.

πŸ”‘ Demo Access Credentials

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

πŸ›  Tech Stack

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

πŸ“ Repository Structure

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

πŸš€ Getting Started

1️⃣ Clone the Repository

git clone https://github.com/keshavagr025/HealthifNow.git
cd HealthifNow

2️⃣ Environment Setup (.env)

Backend (backend/.env)

PORT=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_secret

Frontend (frontend/.env)

VITE_BACKEND_URL=http://localhost:4000
VITE_RAZORPAY_KEY_ID=rzp_test_dummy

Admin Panel (admin/.env)

VITE_BACKEND_URL=http://localhost:4000
VITE_CURRENCY=INR

3️⃣ Running the Platform

Start Backend Service:

cd backend
npm install
node server.js

(Optional) Seed clean initial doctor dataset:

node resetDoctors.js

Start Patient Web Portal:

cd frontend
npm install
npm run dev

🌐 Opens at http://localhost:5173

Start Admin Dashboard:

cd admin
npm install
npm run dev

πŸ›‘οΈ Opens at http://localhost:5174


πŸ“‘ API Endpoints

πŸ‘€ Patient Routes (/api/user)

  • POST /api/user/register - Create patient account
  • POST /api/user/login - Patient authentication
  • GET /api/user/get-profile - Retrieve user profile details
  • POST /api/user/book-appointment - Create doctor appointment
  • GET /api/user/appointments - List user appointment history
  • GET /api/user/appointment-detail/:appointmentId - Fetch appointment details for Video Call session
  • POST /api/user/payment-razorpay - Process Razorpay transaction

πŸ› οΈ Admin Routes (/api/admin)

  • POST /api/admin/login - Admin login
  • POST /api/admin/add-doctor - Add doctor (uploads avatar to Cloudinary)
  • GET /api/admin/all-doctors - Fetch all doctors
  • GET /api/admin/dashboard - Get overall stats

🩺 Doctor Routes (/api/doctor)

  • POST /api/doctor/login - Doctor login
  • GET /api/doctor/list - Fetch public doctors list
  • GET /api/doctor/appointments - Get doctor schedule
  • POST /api/doctor/change-availability - Toggle doctor status

πŸ€– Chatbot Route (/api/chatbot)

  • POST /api/chatbot - Query Groq AI Health Assistant

About

Wellora (HealthifNow) is a full-stack, enterprise-grade healthcare platform designed to streamline doctor appointments, patient management, medical consultation payments, and AI-driven health assistance.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages