Skip to content

aniruddhaadak80/MindCareAI

Repository files navigation

🧠 MindCare AI - AI-Powered Mental Health Assessment Platform

MindCare AI Banner

🌟 Overview

MindCare AI is a comprehensive, AI-powered mental health assessment platform designed to provide personalized insights into mental wellness. Built with cutting-edge technology and a focus on privacy, accessibility, and professional-grade recommendations.

✨ Key Features

πŸ€– Advanced AI Assessment

  • Intelligent Analysis: Sophisticated algorithms analyze responses across multiple mental health dimensions
  • Personalized Insights: Tailored recommendations based on individual assessment results
  • Risk Categorization: Automatic classification into low, moderate, or high-risk categories
  • Real-time Processing: Instant analysis with comprehensive feedback

πŸ›‘οΈ Privacy & Security

  • Zero Data Storage: No personal information is stored or transmitted
  • Local Processing: All assessments processed locally for maximum privacy
  • HIPAA-Compliant Design: Built with healthcare privacy standards in mind
  • Encrypted Communications: All data transmissions are fully encrypted

πŸ“Š Comprehensive Screening

  • Multi-Dimensional Analysis: Covers anxiety, depression, stress, and overall wellbeing
  • Evidence-Based Questions: Clinically validated assessment criteria
  • Progressive Interface: User-friendly, step-by-step assessment process
  • Immediate Results: Instant feedback with detailed breakdown

🎯 Professional Resources

  • Crisis Support Integration: Direct links to mental health crisis resources
  • Professional Referrals: Connections to licensed mental health providers
  • Educational Content: Curated mental health resources and information
  • 24/7 Helpline Access: Immediate access to crisis support services

πŸš€ Technology Stack

Frontend Framework

  • React 18 - Modern component-based architecture
  • TypeScript - Type-safe development
  • Vite - Lightning-fast build tool
  • Tailwind CSS - Utility-first styling framework

UI Components

  • Shadcn/UI - Accessible, customizable component library
  • Radix UI - Unstyled primitive components
  • Lucide React - Beautiful, customizable icons
  • Recharts - Responsive charting library

State Management & Routing

  • React Query (TanStack) - Powerful data fetching and caching
  • React Router DOM - Client-side routing
  • React Hook Form - Performant form handling

Design & Animations

  • CSS-in-JS - Component-scoped styling
  • Custom Animations - Smooth, accessible animations
  • Responsive Design - Mobile-first approach
  • Dark/Light Mode - Theme switching capability

πŸ—οΈ Architecture

Component Structure

src/
β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ ui/             # Base UI components (shadcn/ui)
β”‚   β”œβ”€β”€ AssessmentForm/ # Multi-step assessment form
β”‚   β”œβ”€β”€ ResultsDisplay/ # Results visualization
β”‚   β”œβ”€β”€ Footer/         # Footer with social links
β”‚   └── AnimatedBackground/ # Dynamic background effects
β”œβ”€β”€ pages/              # Route-based page components
β”œβ”€β”€ hooks/              # Custom React hooks
β”œβ”€β”€ lib/                # Utility functions
└── types/              # TypeScript type definitions

Assessment Flow

  1. Landing Page - Introduction and feature overview
  2. Assessment Form - Multi-step questionnaire with progress tracking
  3. AI Processing - Real-time analysis of responses
  4. Results Display - Comprehensive results with recommendations
  5. Resource Access - Direct links to professional support

🎨 Design Features

Visual Elements

  • Gradient Backgrounds - Beautiful, calming color schemes
  • Animated Components - Subtle, purposeful animations
  • Glass Morphism - Modern frosted glass effects
  • Micro-Interactions - Engaging hover and click animations

Accessibility

  • WCAG 2.1 Compliant - Meets accessibility standards
  • Keyboard Navigation - Full keyboard accessibility
  • Screen Reader Support - Optimized for assistive technologies
  • High Contrast Mode - Enhanced visibility options

Responsive Design

  • Mobile-First - Optimized for all device sizes
  • Touch Friendly - Large touch targets for mobile users
  • Progressive Enhancement - Works across all modern browsers
  • Performance Optimized - Fast loading and smooth interactions

πŸ§ͺ Assessment Methodology

Scoring Algorithm

  • Multi-Dimensional Analysis - Evaluates anxiety, depression, stress, and wellbeing
  • Weighted Scoring - Clinical evidence-based weight distribution
  • Normalization - Scores normalized to 0-100 scale for clarity
  • Risk Stratification - Automatic categorization based on validated thresholds

Question Categories

  1. Anxiety Assessment - GAD-7 inspired questions
  2. Depression Screening - PHQ-9 based evaluation
  3. Stress Evaluation - Perceived stress scale questions
  4. Wellbeing Measurement - Positive psychology indicators

Recommendation Engine

  • Personalized Suggestions - Tailored to individual risk profiles
  • Evidence-Based Interventions - Clinically validated recommendations
  • Resource Matching - Appropriate resources for risk levels
  • Crisis Prevention - Immediate support for high-risk users

πŸ› οΈ Installation & Development

Prerequisites

  • Node.js 18+
  • npm or yarn package manager
  • Modern web browser

Quick Start

# Clone the repository
git clone <repository-url>

# Navigate to project directory
cd mindcare-ai

# Install dependencies
npm install

# Start development server
npm run dev

Available Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run preview      # Preview production build
npm run lint         # Run ESLint
npm run type-check   # TypeScript type checking

🌐 Deployment

Production Build

npm run build

Deployment Platforms

  • Vercel - Recommended for optimal performance
  • Netlify - Alternative deployment option
  • Firebase Hosting - Google Cloud integration
  • AWS S3 + CloudFront - Enterprise-grade hosting

πŸ” Privacy & Compliance

Data Handling

  • No Personal Data Storage - Zero data persistence
  • Local Processing Only - All computations client-side
  • No Tracking - No analytics or user tracking
  • Session-Based - Data cleared on session end

Compliance Standards

  • HIPAA Guidelines - Healthcare privacy best practices
  • GDPR Compliant - European data protection standards
  • COPPA Safe - Child privacy protection
  • ADA Compliant - Americans with Disabilities Act

πŸ“ž Crisis Resources

Immediate Support

  • National Suicide Prevention Lifeline: 988
  • Crisis Text Line: Text HOME to 741741
  • SAMHSA Helpline: 1-800-662-4357
  • International Crisis Lines: Available in 50+ countries

Professional Support

  • Psychology Today - Find licensed therapists
  • BetterHelp - Online therapy platform
  • Talkspace - Digital mental health platform
  • Local Resources - Community-based support services

πŸ‘¨β€πŸ’» Developer

Aniruddha Adak

πŸ“„ License

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


⚠️ Important Disclaimer

This application is for informational and educational purposes only. It is not intended to diagnose, treat, cure, or prevent any mental health condition. The assessment results should not be considered as professional medical advice, diagnosis, or treatment recommendations.

Always seek professional help if you are experiencing mental health challenges. Contact qualified healthcare providers, licensed therapists, or mental health professionals for proper diagnosis and treatment.

In case of emergency or if you are having thoughts of self-harm, please contact emergency services immediately or call the National Suicide Prevention Lifeline at 988.


Built with ❀️ for Mental Health Awareness

Your mental health matters. You are not alone.

About

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages