Skip to content

AGTechathon/CureConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

29 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ CureConnect - Comprehensive Healthcare Platform

CureConnect Logo

License React Native React Node.js MongoDB

πŸ“‹ Table of Contents

🌟 Overview

CureConnect is a comprehensive healthcare platform that combines mobile and web technologies to provide accessible healthcare services. Developed for AGTechathon 2k25, this platform bridges the gap between patients and healthcare providers through innovative AI-powered analysis, telemedicine services, and emergency response systems.

Mission

To make quality healthcare accessible to everyone through technology, providing instant medical analysis, expert consultations, and emergency services in a unified platform.

✨ Features

πŸ”¬ AI-Powered Medical Analysis

  • Multi-Modal Analysis: Support for images, videos, and real-time analysis
  • Specialized Analysis Types:
    • πŸ«€ ECG Analysis: Electrocardiogram interpretation and heart health assessment
    • 🦴 X-Ray Analysis: Bone fracture detection and radiological interpretation
    • πŸŽ—οΈ Cancer Detection: Advanced cancer screening and risk assessment
    • 🧠 Alzheimer's Analysis: Cognitive assessment and early detection
    • 🌟 Skin Analysis: Dermatological condition identification
    • πŸ‘οΈ Retinopathy Detection: Eye health assessment and diabetic retinopathy screening
    • πŸ₯ General Health Analysis: Comprehensive health screening

🩺 Telemedicine Services

  • Video Consultations: High-quality video calls with healthcare professionals
  • Real-time Chat: Instant messaging with medical experts
  • Emergency Consultations: Priority access for urgent medical needs
  • Multi-language Support: Available in English and Hindi

🚨 Emergency Services

  • 24/7 Emergency Hotline: Instant access to emergency services (8047492503)
  • IVR System: Interactive Voice Response for quick emergency routing
  • Location-based Services: Automatic routing to nearest medical facilities
  • Emergency Notifications: Real-time alerts to connected healthcare providers

πŸ’‘ Health & Wellness

  • Daily Health Tips: Curated health advice and wellness tips
  • Medical History Tracking: Comprehensive health record management
  • Health Resources: Educational content and preventive care guides

πŸ” Security & Privacy

  • JWT Authentication: Secure user authentication and session management
  • Data Encryption: End-to-end encryption for sensitive medical data
  • HIPAA Compliance: Healthcare data protection standards

πŸ—οΈ Architecture

graph TB
    subgraph "Client Applications"
        A[Mobile App<br/>React Native + Expo]
        B[Web App<br/>React + Vite]
    end
    
    subgraph "API Layer"
        C[Express.js Server<br/>REST API]
        D[Socket.IO<br/>Real-time Communication]
    end
    
    subgraph "Services"
        E[AI Analysis Service<br/>Google Generative AI]
        F[Video Call Service<br/>WebRTC]
        G[Authentication Service<br/>JWT]
        H[Emergency Service<br/>Twilio]
    end
    
    subgraph "Database"
        I[MongoDB<br/>User Data & Medical Records]
    end
    
    A --> C
    B --> C
    A --> D
    B --> D
    C --> E
    C --> F
    C --> G
    C --> H
    C --> I
Loading

πŸ› οΈ Technology Stack

Mobile Application

  • Framework: React Native 0.79.3 with Expo ~53.0.11
  • Navigation: Expo Router ~5.1.0
  • State Management: Redux with Redux Persist
  • UI Components: React Native Elements, Expo Vector Icons
  • AI Integration: Google Generative AI
  • Internationalization: i18next
  • Media Handling: Expo Image Picker, Expo AV

Web Application

  • Frontend: React 19.0.0 with Vite 6.1.0
  • Styling: Tailwind CSS 4.0.8, Material-UI 6.4.5
  • State Management: Redux with Redux Toolkit
  • Routing: React Router DOM 7.2.0
  • UI Components: Material-UI, Lucide React Icons
  • Real-time Features: Socket.IO Client 4.8.1
  • Payment Integration: Stripe React
  • Video Calls: ZegoCloud UI Kit

Backend Services

  • Runtime: Node.js with Express.js 5.1.0
  • Database: MongoDB with Mongoose 8.15.2
  • Authentication: JSON Web Tokens (JWT) 9.0.2
  • Real-time Communication: Socket.IO 4.8.1
  • Security: bcryptjs, CORS, Express Rate Limit
  • Communication: Twilio 5.7.1, Nodemailer 7.0.3
  • Environment Management: dotenv 16.5.0
CureConnect Logo CureConnect Logo CureConnect Logo CureConnect Logo CureConnect Logo CureConnect Logo CureConnect Logo

πŸš€ Installation & Setup

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • MongoDB instance
  • Expo CLI (for mobile development)
  • Git

1. Clone the Repository

git clone https://github.com/your-org/CureConnect.git
cd CureConnect

2. Backend Setup

cd web/Backend
npm install

# Create environment file
cp .env.example .env
# Configure your environment variables:
# - MONGODB_URI
# - JWT_SECRET
# - TWILIO_ACCOUNT_SID
# - TWILIO_AUTH_TOKEN
# - GOOGLE_AI_API_KEY

# Start the backend server
npm run dev

3. Web Frontend Setup

cd web/Frontend
npm install

# Start the development server
npm run dev

4. Mobile App Setup

cd app
npm install

# Start Expo development server
npx expo start

5. Environment Configuration

Backend (.env)

MONGODB_URI=mongodb://localhost:27017/cureconnect
JWT_SECRET=your-jwt-secret-key
JWT_EXPIRE=7d
PORT=5001
TWILIO_ACCOUNT_SID=your-twilio-sid
TWILIO_AUTH_TOKEN=your-twilio-token
GOOGLE_AI_API_KEY=your-google-ai-key

Frontend (.env)

VITE_API_URL=http://localhost:5001/api/v1
VITE_SOCKET_URL=http://localhost:5001
VITE_GOOGLE_AI_API_KEY=your-google-ai-key

πŸ“ Project Structure

CureConnect/
β”œβ”€β”€ πŸ“± app/                           # React Native Mobile App
β”‚   β”œβ”€β”€ app/                          # App screens and navigation
β”‚   β”‚   β”œβ”€β”€ dashboard.tsx             # Main dashboard
β”‚   β”‚   β”œβ”€β”€ emergency.tsx             # Emergency services
β”‚   β”‚   β”œβ”€β”€ models.tsx                # AI model selection
β”‚   β”‚   β”œβ”€β”€ specific-*.tsx            # Specialized analysis screens
β”‚   β”‚   └── healthtips.tsx            # Health tips and wellness
β”‚   β”œβ”€β”€ assets/                       # Images and media files
β”‚   β”œβ”€β”€ utils/                        # Utility functions and i18n
β”‚   β”œβ”€β”€ package.json                  # Dependencies and scripts
β”‚   └── README.md                     # Mobile app documentation
β”‚
β”œβ”€β”€ 🌐 web/                          # Web Application
β”‚   β”œβ”€β”€ Frontend/                     # React Web Frontend
β”‚   β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”‚   β”œβ”€β”€ pages/               # Main application pages
β”‚   β”‚   β”‚   β”œβ”€β”€ components/          # Reusable React components
β”‚   β”‚   β”‚   β”œβ”€β”€ actions/             # Redux actions
β”‚   β”‚   β”‚   β”œβ”€β”€ reducers/            # Redux reducers
β”‚   β”‚   β”‚   └── App.jsx              # Main app component
β”‚   β”‚   └── package.json             # Frontend dependencies
β”‚   β”‚
β”‚   └── Backend/                      # Node.js Backend API
β”‚       β”œβ”€β”€ routes/                   # API route definitions
β”‚       β”œβ”€β”€ models/                   # MongoDB data models
β”‚       β”œβ”€β”€ controllers/              # Business logic controllers
β”‚       β”œβ”€β”€ middleware/               # Authentication & validation
β”‚       β”œβ”€β”€ utils/                    # Helper functions
β”‚       β”œβ”€β”€ server.js                 # Main server file
β”‚       └── package.json              # Backend dependencies
β”‚
β”œβ”€β”€ πŸ“š Instructions/                  # Project documentation
β”‚   β”œβ”€β”€ README.md                     # Setup and rules
β”‚   └── AGTECHATHON.png              # Event documentation
β”‚
β”œβ”€β”€ LICENSE                           # LGPL v2.1 License
β”œβ”€β”€ .gitignore                        # Git ignore rules
└── README.md                         # This file

πŸ“± Mobile App Features

Dashboard & Navigation

  • Intuitive Interface: Clean, healthcare-focused design
  • Multi-language Support: English and Hindi interface
  • Quick Access: Emergency services, AI analysis, and telemedicine
  • Carousel Interface: Featured services with auto-scrolling

AI Analysis Features

  • Camera Integration: Direct photo capture for analysis
  • Gallery Upload: Select existing images for analysis
  • Real-time Processing: Instant AI-powered medical analysis
  • History Tracking: Save and review past analyses

Emergency Services

  • One-touch Emergency: Quick access to emergency hotline
  • IVR Integration: Automated emergency response system
  • Location Services: GPS-based emergency routing

🌐 Web Application Features

Analysis Dashboard

  • Comprehensive Analysis Types: 7+ specialized medical analysis tools
  • Image & Video Support: Multi-format medical data processing
  • Real-time Results: Instant AI-powered analysis and recommendations
  • Export Functionality: PDF reports and data export

Telemedicine Platform

  • Video Consultations: High-quality video calls with doctors
  • Chat Integration: Real-time messaging during consultations
  • Appointment Scheduling: Book and manage medical appointments
  • Prescription Management: Digital prescription handling

User Management

  • Profile System: Comprehensive user profiles with medical history
  • Authentication: Secure login with JWT tokens
  • Medical Records: Centralized health record management
  • Data Privacy: HIPAA-compliant data handling

πŸ”Œ API Documentation

Authentication Endpoints

POST /api/v1/auth/register    # User registration
POST /api/v1/auth/login       # User login
POST /api/v1/auth/logout      # User logout
GET  /api/v1/auth/profile     # Get user profile

Analysis Endpoints

POST /api/v1/analysis/upload     # Upload and analyze medical data
GET  /api/v1/analysis/history    # Get analysis history
GET  /api/v1/analysis/:id        # Get specific analysis

Emergency Endpoints

POST /api/v1/emergency/alert     # Trigger emergency alert
GET  /api/v1/emergency/services  # Get nearby emergency services

WebSocket Events

connection                    # Client connection
join-room                    # Join video call room
emergency-request            # Emergency notification
user-message                 # Chat message

🎯 Key Features Breakdown

πŸ€– AI Analysis Capabilities

  1. ECG Analysis: Heart rhythm analysis and arrhythmia detection
  2. X-Ray Analysis: Bone fracture detection and diagnostic insights
  3. Cancer Screening: Multi-type cancer detection and risk assessment
  4. Alzheimer's Detection: Cognitive assessment through various modalities
  5. Skin Analysis: Dermatological condition identification
  6. Retinopathy Screening: Diabetic eye disease detection
  7. General Health: Comprehensive health status assessment

πŸ₯ Healthcare Services

  • 24/7 Emergency Hotline: Always available emergency services
  • Telemedicine: Connect with healthcare professionals remotely
  • Health Tips: Daily wellness and preventive care advice
  • Medical History: Comprehensive health record tracking
  • Multi-language Support: Accessible in multiple languages

πŸ”’ Security Features

  • End-to-end Encryption: Secure data transmission
  • JWT Authentication: Secure user session management
  • Data Privacy: HIPAA-compliant data handling
  • Secure Storage: Encrypted medical record storage

🀝 Contributing

We welcome contributions to CureConnect! Please follow these steps:

  1. Fork the Repository
  2. Create a Feature Branch: git checkout -b feature/AmazingFeature
  3. Commit Changes: git commit -m 'Add some AmazingFeature'
  4. Push to Branch: git push origin feature/AmazingFeature
  5. Open a Pull Request

Development Guidelines

  • Follow existing code style and conventions
  • Write comprehensive tests for new features
  • Update documentation for any API changes
  • Ensure HIPAA compliance for healthcare-related features

Code Style

  • JavaScript/TypeScript: ESLint configuration provided
  • React: Follow React best practices and hooks patterns
  • Node.js: Follow Express.js conventions and async/await patterns

πŸ“„ License

This project is licensed under the GNU Lesser General Public License v2.1 - see the LICENSE file for details.

πŸ† AGTechathon 2k25

This project was developed for AGTechathon 2k25, following all competition guidelines:

  • βœ… No external repository cloning
  • βœ… No complete tutorial following
  • βœ… Original development with incremental commits
  • βœ… Theme compliance with healthcare focus
  • βœ… Regular code pushes throughout development

πŸ“ž Support & Contact

For support, feature requests, or general inquiries:

  • Emergency Services: 8047492503 (24/7 availability)
  • Project Issues: Create an issue on GitHub
  • Documentation: Check the /Instructions directory

πŸ™ Acknowledgments

  • AGTechathon 2k25 for the opportunity and theme
  • Google AI for generative AI capabilities
  • Expo & React Native for mobile development framework
  • React & Vite for modern web development tools
  • MongoDB & Node.js for robust backend infrastructure

CureConnect - Connecting Care, Empowering Health

Built with ❀️ for AGTechathon 2k25

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors