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.
This project proudly participates in the following open-source programs:
| Program | Program Name | Status |
|---|---|---|
| βοΈ | Social Winter of Code (SWOC) | Active |
| π | Open Source Community Group (OSCG) | Active |
| π | Apertre 3.0 | Active |
π‘ We warmly welcome contributors from all the above programs.
Please check open issues and follow the contribution guidelines before submitting a PR.
- π Secure Auth: Multi-role Firebase Authentication (Admin, Doctor, Patient).
- ποΈ Real-time Database: Cloud Firestore for zero-latency health parameter updates.
- π RESTful API: Complete API infrastructure for all entities (patients, vitals, alerts, devices).
- π Service Layer: Business logic abstraction with comprehensive error handling.
- π 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.
- β‘ Real-time Sync: Live data updates using Firestore subscriptions.
| 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 |
To connect physical sensors to the HEALCONNECT dashboard, you must flash the kit with the provided firmware:
- Software: Install the latest Arduino IDE.
- Open Project: Open
HealthConnect_Kit_Arduino_Code/HealthConnect_Kit_Arduino_Code.ino. - Configuration:
- Update
Network.hwith your WiFi credentials. - Ensure the Firebase Secret/URL matches your project settings.
- Update
- Library Installation: Use the Library Manager to install
Firebase ESP32 ClientandArduinoJson. - Upload: Connect your hardware via USB, select the correct COM port, and click Upload.
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/ # Core Libraries & Services
β βββ api/ # API client & middleware
β βββ db/ # Database operations & schema
β βββ services/ # Business logic layer
β βββ hooks/ # Custom React hooks
β βββ alertSystem.js # Core alert monitoring & generation
β βββ thresholdDefaults.js # Medical threshold configurations
β βββ useAlertMonitor.js # Real-time monitoring hooks
βββ pages/ # Next.js Routing & API Logic
β βββ api/ # RESTful API endpoints
β β βββ patients/ # Patient CRUD operations
β β βββ vitals/ # Vitals recording & retrieval
β β βββ alerts/ # Alert management
β β βββ devices/ # Device registration & status
β βββ admin/ # Admin dashboard & threshold management
β βββ doctor/ # Doctor dashboard with alerts
β βββ patient/ # Patient dashboard
βββ docs/ # Comprehensive Documentation
β βββ API_DOCUMENTATION.md # Complete API reference
β βββ DATABASE_SCHEMA.md # Database structure
β βββ SETUP_GUIDE.md # Installation & setup
β βββ USAGE_EXAMPLES.md # Code examples
β βββ QUICK_REFERENCE.md # Quick reference guide
βββ public/ # Static Assets & Images
βββ styles/ # Global SCSS & Tailwind Styles
- Node.js (version 14 or higher)
- Firebase project (setup on Firebase Console)
git clone [https://github.com/Dipanita45/HEALCONNECT](https://github.com/Dipanita45/HEALCONNECT)
cd HEALCONNECTnpm installnpm run devAlthough this project uses a unified Next.js structure, backend services (API routes, database connections, and authentication) require proper environment configuration.
- Node.js (v16+)
- npm or yarn
- Database (MongoDB / PostgreSQL as applicable)
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
npm installnpm run dev- API routes are located inside the
pages/apidirectory - Ensure database connection variables are correctly set
For detailed information about the real-time alert system, see ALERT_SYSTEM_GUIDE.md
For comprehensive information about the database and API infrastructure:
- Database & API Overview - Complete implementation guide
- API Documentation - RESTful API endpoints reference
- Database Schema - Firestore collections structure
- Setup Guide - Step-by-step installation
- Usage Examples - Code examples and patterns
- Quick Reference - Cheat sheet for common operations
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.
---### πͺ Steps to Contribute
-
Fork this repository Click the Fork button on the top right corner of this page.
-
Clone your forked repo
git clone https://github.com/<your-username>/HEALCONNECT.git
-
Create a new branch
git checkout -b feature/your-feature-name
-
Make your changes Add your improvements or fix bugs.
-
Commit your changes
git add . git commit -m "Added: new feature or improvement"
-
Push to your branch
git push origin feature/your-feature-name
-
Create a Pull Request Go to your fork on GitHub and click βCompare & pull requestβ. π Thatβs it! Wait for review and merge.
π For more details, see the CONTRIBUTING.md file.
We are excited to announce that this project has been officially selected for Nexus Spring of Code 2026 (NSoC '26).
As a Project Kernel, this project will be actively maintained and scaled during the program with support from contributors and the open-source community.
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
Made with β€οΈ by the HEALCONNECT Team Empowering healthcare, one heartbeat at a time.



