Skip to content

HealthAI is a modern, responsive healthcare platform built with React.js that provides AI-powered health insights, emergency support, and virtual consultations. This project showcases the evolution from a first hackathon submission to a professional-grade application.

Notifications You must be signed in to change notification settings

Anish-2005/HealthAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฅ HealthAI - Intelligent Healthcare Platform

HealthAI Banner

Live Demo: https://health-ai-in.vercel.app

A comprehensive healthcare platform powered by AI, offering personalized health insights, emergency support, and virtual consultations. This project represents a complete rework of my first hackathon submission, implementing advanced skills and technologies learned throughout the year.

๐Ÿ‘จโ€๐Ÿ’ป About the Developer

Anish Seth - Computer Science and Business Systems Student
This project showcases the evolution of my development skills from my first hackathon to implementing professional-grade technologies and best practices.


๐ŸŒŸ Overview

HealthAI is a modern, responsive healthcare platform that bridges the gap between patients and healthcare providers through intelligent AI-powered features. Built with React.js and modern web technologies, it offers a seamless experience across all devices with comprehensive health management tools.

๐ŸŽฏ Key Features

  • ๐Ÿค– AI Health Advisor - Personalized health insights powered by advanced AI algorithms
  • ๐Ÿšจ Emergency Support - Immediate assistance during medical emergencies with one-tap access
  • ๐Ÿ‘ฉโ€โš•๏ธ Virtual Consultations - Connect with certified doctors through secure video calls
  • ๐Ÿ“ฑ Symptom Tracker - Monitor symptoms over time and receive actionable insights
  • ๐Ÿ” Secure Authentication - Firebase-powered authentication with Google sign-in
  • ๐ŸŒ™ Dark Mode Support - Complete theme switching with smooth transitions
  • ๐Ÿ“Š Health Dashboard - Comprehensive health analytics and progress tracking

๐Ÿ› ๏ธ Technology Stack

Frontend

  • React.js 19.1.0 - Modern component-based UI framework
  • Vite 7.0.0 - Next-generation frontend build tool
  • Tailwind CSS 4.1.11 - Utility-first CSS framework
  • Framer Motion 12.20.1 - Production-ready motion library for React

UI & Icons

  • Lucide React - Beautiful & consistent icon set
  • Responsive Design - Mobile-first approach with smooth animations

Backend & Authentication

  • Firebase 11.10.0 - Authentication, hosting, and backend services
  • Google Auth - Secure OAuth2 authentication flow

Development Tools

  • ESLint - Code linting and formatting
  • PostCSS & Autoprefixer - CSS processing and vendor prefixes
  • React Router DOM 7.6.3 - Client-side routing

๐Ÿ“ Project Structure

HealthAI/
โ”œโ”€โ”€ public/                    # Static assets
โ”‚   โ”œโ”€โ”€ anish.jpg             # Team member photos
โ”‚   โ”œโ”€โ”€ anubhab.jpg
โ”‚   โ”œโ”€โ”€ anushka.jpg
โ”‚   โ”œโ”€โ”€ rajarshi.jpg
โ”‚   โ”œโ”€โ”€ logo.png.png          # App logo
โ”‚   โ””โ”€โ”€ vite.svg
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/           # Reusable components
โ”‚   โ”‚   โ”œโ”€โ”€ Footer.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ LandingFooter.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ LandingNavbar.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.jsx
โ”‚   โ”‚   โ””โ”€โ”€ ProtectedRoute.jsx # Route protection
โ”‚   โ”œโ”€โ”€ pages/                # Main application pages
โ”‚   โ”‚   โ”œโ”€โ”€ About.jsx         # About page
โ”‚   โ”‚   โ”œโ”€โ”€ Advice.jsx        # AI health advice
โ”‚   โ”‚   โ”œโ”€โ”€ Emergency.jsx     # Emergency support
โ”‚   โ”‚   โ”œโ”€โ”€ Help.jsx          # Help & support
โ”‚   โ”‚   โ”œโ”€โ”€ Home.jsx          # Main dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ Landing.jsx       # Landing page
โ”‚   โ”‚   โ”œโ”€โ”€ Login.jsx         # Authentication
โ”‚   โ”‚   โ”œโ”€โ”€ Partner.jsx       # Partnership info
โ”‚   โ”‚   โ”œโ”€โ”€ Signup.jsx        # User registration
โ”‚   โ”‚   โ””โ”€โ”€ Team.jsx          # Team information
โ”‚   โ”œโ”€โ”€ assets/               # Static assets
โ”‚   โ”œโ”€โ”€ App.jsx               # Main app component
โ”‚   โ”œโ”€โ”€ App.css               # Global styles
โ”‚   โ”œโ”€โ”€ firebase.js           # Firebase configuration
โ”‚   โ”œโ”€โ”€ index.css             # Base styles
โ”‚   โ””โ”€โ”€ main.jsx              # Application entry point
โ”œโ”€โ”€ eslint.config.js          # ESLint configuration
โ”œโ”€โ”€ index.html                # HTML template
โ”œโ”€โ”€ package.json              # Dependencies & scripts
โ”œโ”€โ”€ vite.config.js            # Vite configuration
โ”œโ”€โ”€ vercel.json               # Vercel deployment config
โ””โ”€โ”€ README.md                 # Project documentation

๐Ÿš€ Getting Started

Prerequisites

  • Node.js (version 16 or higher)
  • npm or yarn package manager
  • Git for version control

Installation

  1. Clone the repository:

    git clone https://github.com/anish-seth/healthai.git
    cd healthai
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory and add your Firebase configuration:

    VITE_FIREBASE_API_KEY=your_api_key
    VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
    VITE_FIREBASE_PROJECT_ID=your_project_id
    VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
    VITE_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
    VITE_FIREBASE_APP_ID=your_app_id
    VITE_FIREBASE_MEASUREMENT_ID=your_measurement_id
  4. Start the development server:

    npm run dev
  5. Open your browser: Navigate to http://localhost:5173 to view the application.


๐Ÿ“ฑ Features Deep Dive

๐Ÿ  Landing Page

  • Hero Section with animated backgrounds and call-to-action
  • Feature Showcase with interactive carousels
  • Statistics Display with animated counters
  • Testimonials from healthcare professionals and patients
  • Responsive Design optimized for all devices

๐Ÿ” Authentication System

  • Email/Password Login with form validation
  • Google OAuth Integration for quick sign-up
  • Protected Routes for secure access to features
  • Persistent Sessions with localStorage

๐Ÿค– AI Health Advisor

  • Symptom Input Interface with natural language processing
  • Personalized Recommendations based on user input
  • Loading States with smooth animations
  • Response Display with formatted health advice

๐Ÿšจ Emergency Support

  • One-Click Emergency access with clear visual indicators
  • Emergency Contacts integration
  • Location Services for emergency response
  • Critical Information display

๐Ÿ‘ฅ Team Section

  • Team Member Profiles with photos and roles
  • Social Media Integration with direct links
  • Professional Information display
  • Responsive Grid Layout

๐ŸŽจ Design System

Color Palette

  • Primary Green: #22C55E - Health and vitality
  • Secondary Green: #16A34A - Trust and growth
  • Background Light: #E4F2CE - Soft, calming presence
  • Text Dark: #2E312A - Professional readability
  • Dark Mode: #111827 with green accents

Typography

  • Headers: Bold, modern fonts for impact
  • Body Text: Clean, readable font families
  • Interactive Elements: Consistent sizing and spacing

Animations

  • Framer Motion powered smooth transitions
  • Hover Effects for interactive elements
  • Page Transitions for seamless navigation
  • Loading States with engaging animations

๐Ÿ”ง Configuration Files

Vite Configuration

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
})

ESLint Configuration

  • React hooks rules for best practices
  • Modern JavaScript linting
  • Import/export validation

Tailwind CSS

  • Custom color schemes
  • Responsive breakpoints
  • Dark mode support
  • Custom animations

๐Ÿš€ Deployment

Vercel Deployment

The application is deployed on Vercel with the following configuration:

{
  "framework": "vite",
  "buildCommand": "npm run build",
  "outputDirectory": "dist",
  "installCommand": "npm install"
}

Build Process

npm run build    # Production build
npm run preview  # Preview production build
npm run lint     # Code quality check

๐Ÿงช Testing & Quality Assurance

Code Quality

  • ESLint for code consistency
  • React best practices implementation
  • Component modularity for maintainability
  • Responsive design testing across devices

Performance Optimizations

  • Vite for fast development and building
  • Code splitting with React Router
  • Image optimization for faster loading
  • CSS optimization with Tailwind purging

๐Ÿ”ฎ Future Enhancements

Planned Features

  • Real AI Integration with healthcare APIs
  • Video Calling for virtual consultations
  • Health Data Tracking with charts and analytics
  • Medication Reminders with notifications
  • Multi-language Support for accessibility
  • Progressive Web App (PWA) capabilities
  • Offline Mode for emergency access
  • Integration with Wearables for health monitoring

Technical Improvements

  • Unit Testing with Jest and React Testing Library
  • E2E Testing with Cypress
  • API Integration with real healthcare services
  • Database Integration for user data persistence
  • Real-time Features with WebSocket connections

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Development Guidelines

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ“ž Contact & Support

Anish Seth


๐Ÿ™ Acknowledgments

  • Team Members: Rajarshi Chatterjee, Anushka Adak, Anubhab Das
  • Technologies: React.js, Firebase, Tailwind CSS, Framer Motion
  • Inspiration: Modern healthcare platforms and AI-driven solutions
  • Learning Journey: From first hackathon to professional development

โญ If you found this project helpful, please give it a star! โญ

Made with Love React Firebase Tailwind CSS

About

HealthAI is a modern, responsive healthcare platform built with React.js that provides AI-powered health insights, emergency support, and virtual consultations. This project showcases the evolution from a first hackathon submission to a professional-grade application.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages