A cutting-edge web application that combines AI-powered personalization with immersive 3D meditation experiences to create the future of mental wellness.
- AI-Powered Personalization: Advanced algorithms adapt meditation experiences to your emotional state
- Immersive 3D Environments: Web-based 3D meditation spaces using Three.js and React Three Fiber
- Biometric Monitoring: Real-time stress level analysis (mock implementation for web demo)
- Progress Tracking: Comprehensive analytics dashboard with mood tracking
- Multi-Environment Support: 6+ unique meditation environments (forest, ocean, space, etc.)
- Modern UI/UX: Glass morphism design with gradient backgrounds
- Responsive Design: Optimized for desktop, tablet, and mobile
- Dark/Light Mode: Automatic theme switching with system preference
- Progressive Web App: Fast loading with offline capabilities
- User Authentication: Secure login/signup with persistent sessions
- Profile Management: Customizable user preferences and settings
- Achievement System: Gamified progress tracking with unlockable achievements
- Social Features: Progress sharing and community insights
- React 18 - Modern React with hooks and concurrent features
- TypeScript - Type-safe development
- Vite - Fast build tool and development server
- TailwindCSS - Utility-first CSS framework with custom design system
- React Router 6 - Client-side routing
- Zustand - Lightweight state management
- React Three Fiber - 3D graphics and animations
- Recharts - Beautiful analytics charts
- Radix UI - Accessible UI primitives
- Framer Motion - Advanced animations
- React Query - Server state management
- Custom Color Palette: MindSpace blue, violet, and emerald theme
- Glass Morphism: Modern translucent design elements
- Responsive Grid: Mobile-first responsive design
- Custom Animations: Floating elements, gradients, and micro-interactions
src/
โโโ components/
โ โโโ ui/ # Reusable UI components (shadcn/ui)
โ โโโ MeditationSession.tsx # 3D meditation experience
โ โโโ AnalyticsDashboard.tsx # Progress analytics
โโโ pages/
โ โโโ Index.tsx # Landing page
โ โโโ Auth.tsx # Authentication
โ โโโ Dashboard.tsx # User dashboard
โ โโโ Environments.tsx # Meditation selection
โ โโโ Profile.tsx # User settings
โ โโโ NotFound.tsx # 404 page
โโโ lib/
โ โโโ auth.ts # Authentication store
โ โโโ meditation.ts # Meditation data and utilities
โ โโโ api.ts # API service layer
โ โโโ utils.ts # Utility functions
โโโ hooks/ # Custom React hooks
โโโ App.tsx # Main application component
- Node.js 18+
- npm or yarn
# Clone the repository
git clone <repository-url>
cd mindspace-ar
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Run type checking
npm run typecheck
# Run tests
npm testCreate a .env file in the root directory:
REACT_APP_API_URL=http://localhost:3001/api
REACT_APP_ENV=development- Primary: MindSpace Blue (#0ea5e9)
- Secondary: Violet (#a855f7)
- Accent: Emerald (#10b981)
- Background: Gradient from slate to blue tones
- Glass Elements: Translucent overlays with backdrop blur
- Primary Font: Inter (sans-serif)
- Monospace: JetBrains Mono
- Sizes: Responsive scale from 12px to 64px
- Glass morphism cards with subtle borders
- Gradient buttons with hover effects
- Floating animations for visual elements
- Smooth transitions and micro-interactions
- Forest Sanctuary - Peaceful woodland with flowing water
- Crystal Cave - Mystical cave with glowing crystals (Premium)
- Ocean Depths - Calming underwater experience
- Cosmic Nebula - Space meditation with nebulae (Premium)
- Zen Garden - Traditional Japanese garden
- Aurora Mountain - Northern lights over peaks (Premium)
- Onboarding: Personality assessment and preference setup
- Environment Selection: Choose from available meditation spaces
- Session Experience: Immersive 3D environment with guided audio
- Progress Tracking: Mood logging and analytics
- Achievement System: Unlock rewards and level progression
- Daily/weekly/monthly progress charts
- Mood trend analysis with improvement metrics
- Environment usage statistics
- Streak tracking and goal management
- AI-powered insights and recommendations
- Client-side authentication with secure token storage
- Data persistence using Zustand with localStorage
- Privacy-first design with optional biometric features
- GDPR-compliant data handling practices
- Responsive design optimized for touch interfaces
- Progressive Web App (PWA) capabilities
- Optimized 3D performance for mobile devices
- Gesture-based navigation and controls
# Create optimized production build
npm run build
# Serve static files
npm run preview- Vercel: Automatic deployments from Git
- Netlify: Continuous deployment with branch previews
- AWS S3 + CloudFront: Enterprise-grade hosting
- Docker: Containerized deployment option
- Real AR Integration: Mobile AR using WebXR APIs
- Voice Integration: Real-time voice coaching and commands
- Biometric APIs: Integration with fitness trackers and sensors
- Social Features: Community meditation sessions and challenges
- AI Coach: Advanced personalization with machine learning
- User Authentication: OAuth and social login options
- Session Storage: Cloud-based meditation history
- Real-time Analytics: Live progress tracking
- Payment Processing: Premium subscription management
- Push Notifications: Meditation reminders and motivation
- Lighthouse Score: 95+ across all categories
- Bundle Size: Optimized chunks under 1MB initial load
- Load Time: < 3 seconds on 3G networks
- Accessibility: WCAG 2.1 AA compliant
- SEO: Optimized meta tags and structured data
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- React Three Fiber for 3D graphics
- Radix UI for accessible components
- shadcn/ui for beautiful UI components
- Tailwind CSS for utility-first styling
- Unsplash for meditation environment images
Built with โค๏ธ for the future of mental wellness technology.