Skip to content

nehalgaherwar/HEALCONNECT

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

301 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ₯ HEALCONNECT

Smart Remote Health Monitoring & Hospital Management System

Build Status License: MIT PRs Welcome Firebase SWOC'26 Discord

Live Demo | Report Bug | Request Feature | Join Discord


🩺 About

HEALCONNECT is a professional-grade health monitoring system designed for real-time remote patient care. By bridging the gap between physical sensors and cloud-based dashboards, it allows medical professionals to monitor vital parameters (ECG, Heart Rate, etc.) and manage appointments seamlessly from any location.


πŸš€ Key Features

  • πŸ” Secure Auth: Multi-role Firebase Authentication (Admin, Doctor, Patient).
  • πŸ—„οΈ Real-time Database: Cloud Firestore for zero-latency health parameter updates.
  • πŸ“ˆ Live Monitoring: Interactive ECG and health charts using real-time data streams.
  • 🚨 Emergency Alerts: Automated real-time alerts when patient vitals exceed safe thresholds.
  • πŸ“… Hospital Management: Integrated appointment booking and prescription systems.
  • πŸŒ“ UX Focused: Fully responsive design with Dark Mode support.

πŸ›  Tech Stack

Layer Technology
Frontend React.js (Vite), Next.js
Styling SCSS / Tailwind CSS
Backend Services Firebase Auth & Cloud Firestore
Hardware Arduino (C++) / ESP32
Form Handling React Hook Form

πŸ”Œ Hardware Setup & Flashing

To connect physical sensors to the HEALCONNECT dashboard, you must flash the kit with the provided firmware:

  1. Software: Install the latest Arduino IDE.
  2. Open Project: Open HealthConnect_Kit_Arduino_Code/HealthConnect_Kit_Arduino_Code.ino.
  3. Configuration:
    • Update Network.h with your WiFi credentials.
    • Ensure the Firebase Secret/URL matches your project settings.
  4. Library Installation: Use the Library Manager to install Firebase ESP32 Client and ArduinoJson.
  5. Upload: Connect your hardware via USB, select the correct COM port, and click Upload.

πŸ“‚ Project Structure

HEALCONNECT/
β”œβ”€β”€ .github/workflows/       # Automated CI/CD (GitHub Actions)
β”œβ”€β”€ HealthConnect_Kit_Arduino_Code/ # Hardware Firmware (Arduino/C++)
β”œβ”€β”€ components/              # Reusable UI Components
β”‚   β”œβ”€β”€ Auth/                # Login & Auth State Logic
β”‚   β”œβ”€β”€ DoctorComponents/    # Doctor-specific views & Alert System
β”‚   β”œβ”€β”€ LiveMonitor/         # ECG & Real-time Chart Logic
β”‚   └── PatientComponents/   # Patient-specific views
β”œβ”€β”€ lib/                     # Firebase Config, Custom Hooks & Alert System
β”‚   β”œβ”€β”€ alertSystem.js       # Core alert monitoring & generation
β”‚   β”œβ”€β”€ thresholdDefaults.js # Medical threshold configurations
β”‚   └── useAlertMonitor.js   # Real-time monitoring hooks
β”œβ”€β”€ pages/                   # Next.js Routing & API Logic
β”‚   β”œβ”€β”€ admin/               # Admin dashboard & threshold management
β”‚   β”œβ”€β”€ doctor/              # Doctor dashboard with alerts
β”‚   └── patient/             # Patient dashboard
β”œβ”€β”€ public/                  # Static Assets & Images
└── styles/                  # Global SCSS & Tailwind Styles

βš™οΈ Getting Started

βœ… Prerequisites

πŸ”§ Installation Steps

Clone the repository

git clone [https://github.com/Dipanita45/HEALCONNECT](https://github.com/Dipanita45/HEALCONNECT)
cd HEALCONNECT

Install dependencies

npm install

Start development server

npm run dev

Backend Setup & Configuration

Although this project uses a unified Next.js structure, backend services (API routes, database connections, and authentication) require proper environment configuration.

Prerequisites
  • Node.js (v16+)
  • npm or yarn
  • Database (MongoDB / PostgreSQL as applicable)
πŸ” Environment Configuration

Create a .env file in the root directory and copy the values from .env.example. Focus strictly on Firebase credentials as this project uses Firestore for all database needs.

NEXT_PUBLIC_FIREBASE_API_KEY=your_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
Install Dependencies
npm install
Run the Application
npm run dev
Backend/API
  • API routes are located inside the pages/api directory
  • Ensure database connection variables are correctly set
🚨 Emergency Alert System

For detailed information about the real-time alert system, see ALERT_SYSTEM_GUIDE.md


πŸ–ΌοΈ Website Preview

Click to view Screenshots

Homepage

Screenshot 2025-08-12 204702

Monitoring

Screenshot 2025-08-12 204802

Dark Mode

Screenshot 2025-08-12 204852

Appointments

Screenshot 2025-08-12 204752

🀝 Contributing

Contributions are what make the open-source community an amazing place to learn and inspire. We welcome contributions from everyone! Please read our Contributing Guidelines to get started.


πŸ’¬ Connect With Us

Join our growing community! Connect with us on Discord for:

  • πŸ—£οΈ Real-time discussions and support
  • πŸš€ Project updates and announcements
  • πŸ’‘ Feature suggestions and feedback
  • 🀝 Collaboration opportunities

Join our Discord


Made with ❀️ by the HEALCONNECT Team Empowering healthcare, one heartbeat at a time.

⬆️ Back to Top

About

A health monitoring system that connects patients and doctors at one platform

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 81.9%
  • CSS 13.5%
  • C++ 2.7%
  • SCSS 1.9%