Transform your mental wellness journey with AI-powered insights, gamified assessments, and blockchain-verified achievements.
- Interactive Card-Based Evaluation: Drag and drop emotion cards into frequency buckets
- Multi-Category Assessment: Mood, Sleep, Stress, Focus, and Energy evaluation
- Beautiful UI/UX: Smooth animations and modern gradient design
- Progress Tracking: Visual progress bar with step-by-step navigation
- Reset Functionality: Start fresh anytime with complete state reset
- Google Gemini Integration: Advanced AI provides personalized mental health feedback
- AI Therapist Chat: 24/7 conversational support with contextual responses
- Empathetic Responses: Warm, supportive, and actionable guidance
- Multi-language Support: Global accessibility through AI translation
- Conversation History: Persistent chat sessions with memory
- Memory Game: Cognitive training with pattern recognition
- Reaction Time Test: Measure and improve response speed
- Math Lightning: Mental arithmetic challenges for brain training
- Breathing Exercise: Guided meditation and relaxation techniques
- Score Tracking: Progress monitoring across all games
- Achievement System: Unlock milestones and track improvements
- MINDFUL Tokens: Earn ERC-20 tokens for consistent wellness tracking
- Base Sepolia Network: Secure, fast, and eco-friendly blockchain integration
- Achievement NFTs: Collect wellness milestone badges as ERC-1155 tokens
- Wallet Integration: MetaMask connection for seamless transactions
- NFT Gallery: View and showcase your wellness achievements
- Personal Dashboard: Complete wellness journey overview
- Customizable Settings: Name, language, themes, and accessibility options
- Wellness Goals: Set and track personal mental health objectives
- Statistics Tracking: Real-time metrics and progress visualization
- Activity History: Detailed log of assessments and achievements
- Streak Monitoring: Daily engagement rewards and consistency tracking
- Responsive Design: Optimized for mobile, tablet, and desktop
- Dark/Light Mode: System-aware theme switching
- Glass Morphism: Modern translucent design elements
- Smooth Animations: Framer Motion powered transitions
- Accessibility Features: High contrast mode and keyboard navigation
- Toast Notifications: Real-time feedback and success messages
- 3-Step Guided Tour: Interactive introduction to platform features
- Skip Functionality: Jump directly to main application
- Progressive Disclosure: Learn features at your own pace
- Visual Demonstrations: Rich graphics and animations
- Welcome Personalization: Tailored experience setup
- React 18 - Modern component architecture with hooks
- TypeScript - Type-safe development and better IDE support
- Tailwind CSS - Utility-first styling with custom design system
- Framer Motion - Smooth animations and micro-interactions
- Zustand - Lightweight state management with persistence
- Google Gemini Pro - Advanced AI language model for insights
- Google Translate API - Multi-language support for global users
- Ethers.js - Ethereum wallet integration and smart contracts
- Base Sepolia - Layer 2 testnet for cost-effective transactions
- MetaMask - Secure wallet connection and authentication
- react-beautiful-dnd - Drag and drop functionality for assessments
- react-hot-toast - Beautiful toast notifications
- Lucide React - Modern icon system with 1000+ icons
- Recharts - Data visualization for progress tracking
- React Router - Client-side routing and navigation
- Node.js 18+ and npm/yarn
- MetaMask browser extension
- Google Gemini API key
git clone https://github.com/Cons245/MindFulChain.git
cd MindFulChainnpm installCreate a .env.local file in the root directory:
VITE_GEMINI_API_KEY=your_google_gemini_api_key_herenpm run devVisit http://localhost:8080 to see the application.
- Welcome Onboarding: Complete the 3-step guided introduction
- Connect Wallet: Link your MetaMask for blockchain features
- Take Assessment: Start with the interactive mood evaluation
- Receive AI Feedback: Get personalized insights from Google Gemini
- Play Games: Engage with cognitive training activities
- Earn Rewards: Collect MINDFUL tokens and achievement NFTs
- Track Progress: Monitor your wellness journey over time
- Chat with AI: Access 24/7 mental health support
- Drag & Drop Interface: Move emotion cards to frequency buckets
- 5 Categories: Evaluate mood, sleep, stress, focus, and energy
- Progress Tracking: See completion status with visual indicators
- Reset Anytime: Start fresh with complete state reset
- Instant Feedback: Receive AI insights upon completion
- Install MetaMask browser extension
- Add Base Sepolia testnet (automatic prompt)
- Get test ETH from Base Sepolia faucet if needed
- Connect to earn and collect blockchain rewards
src/
โโโ components/
โ โโโ Layout.tsx # Main app layout with navigation
โ โโโ HomePage.tsx # Landing page with features
โ โโโ OnboardingPage.tsx # 3-step guided introduction
โ โโโ QuizPage.tsx # Interactive assessment interface
โ โโโ DashboardPage.tsx # Analytics and progress tracking
โ โโโ ProfilePage.tsx # User settings and statistics
โ โโโ ChatBotPage.tsx # AI therapist chat interface
โ โโโ GamesPage.tsx # Wellness games collection
โ โโโ NFTGallery.tsx # Blockchain rewards showcase
โ โโโ games/
โ โโโ MemoryGame.tsx # Pattern recognition game
โ โโโ ReactionTimeGame.tsx # Speed testing game
โ โโโ MathLightningGame.tsx # Arithmetic challenges
โ โโโ BreathingExercise.tsx # Meditation guide
โโโ services/
โ โโโ geminiService.ts # AI integration and prompts
โ โโโ nftService.ts # Blockchain NFT management
โ โโโ blockchainService.ts # Web3 wallet connections
โ โโโ localStorageService.ts # Data persistence
โโโ stores/
โ โโโ mindfulStore.ts # Global state management
โโโ data/
โโโ emotionCards.ts # Assessment content and categories
- Zustand Store - Global application state with persistence
- Local Storage - User preferences and progress backup
- React Context - Theme and UI state management
- Component State - Temporary UI interactions
- Primary: Mindful Blue (#0ea5e9) - Trust and stability
- Secondary: Wellness Green (#22c55e) - Growth and healing
- Accent: Purple Gradient (#667eea โ #764ba2) - Innovation
- Background: Soft gradients with glass morphism effects
- Font Family: Inter (Google Fonts) - Modern and readable
- Hierarchy: Clear visual hierarchy with gradient text effects
- Responsive: Fluid typography scaling across devices
- Accessibility: High contrast ratios and proper sizing
- Framer Motion - Page transitions and component animations
- CSS Animations - Floating elements and gradient effects
- Hover Effects - Scale, glow, and color transitions
- Loading States - Smooth loading indicators and skeletons
- Client-Side Processing - All assessments processed locally
- Encrypted Storage - Sensitive data protection
- Blockchain Verification - Tamper-proof achievement records
- No Personal Data Collection - Privacy-first approach
- Audited Contracts - ERC-20 and ERC-1155 standard compliance
- Testnet Deployment - Safe testing environment
- Minimal Permissions - Limited contract interactions
- Secure Wallet Integration - MetaMask security standards
- 1 billion people affected by mental health disorders worldwide (WHO)
- Every 40 seconds someone dies by suicide globally
- $1 trillion annual economic impact of depression and anxiety
- Accessibility Features - High contrast, keyboard navigation, screen reader support
- Multi-language Support - AI-powered translation for global reach
- Gamification - Increase engagement through rewards and achievements
- 24/7 AI Support - Provide round-the-clock mental health guidance
- Blockchain Incentives - Motivate consistent wellness tracking
- โ Core gamified assessment system
- โ AI-powered feedback with Google Gemini
- โ Blockchain integration with NFT rewards
- โ Beautiful responsive UI/UX design
- โ Wellness games and cognitive training
- โ AI therapist chat functionality
- โ Comprehensive user profiles
- โ Onboarding experience
- ๐ Advanced analytics dashboard
- ๐ Social features and community building
- ๐ Therapist connection platform
- ๐ Mobile app development
- ๐ Integration with wearable devices
- ๐ Clinical partnerships and validation
- ๐ Insurance integration and coverage
- ๐ Research data contribution
- ๐ Global scaling and localization
- ๐ Enterprise wellness programs
- Frontend Development - React, TypeScript, Tailwind CSS
- AI Integration - Prompt optimization, model fine-tuning
- Blockchain Development - Smart contracts, Web3 integration
- UI/UX Design - Accessibility, user experience improvements
- Mental Health Content - Assessment questions, wellness tips
- Google Gemini for advanced AI capabilities and natural language understanding
- Base Protocol for scalable blockchain infrastructure and developer tools
- Mental Health Organizations worldwide for research and inspiration
- Open Source Community for amazing tools, libraries, and frameworks
Built with โค๏ธ for global mental wellness
Follow MindFul Movement
Together, we're building a healthier digital world
