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.
- π 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.
| 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/ # 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
- 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
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.
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.



