BayMaxx is an AI-powered emotional and medical assistant inspired by Big Hero 6. It offers personalized interactions, medical diagnosis, emotional support, and voice-based communication. Key features include emotion detection, sentiment analysis, speech recognition, and continuous learning for improvement.
BayMaxx/
β
βββ π backend/ # Core Backend Services
β βββ π server.js # Main Express Server & WebSockets
β βββ π config/ # Configurations
β β βββ database.js # PostgreSQL & MongoDB Config
β β βββ cache.js # Redis Cache Config
β β βββ env.js # Global Environment Variables
β β βββ security.js # Security Config (CORS, Rate Limiting)
β β
β βββ π microservices/ # Decoupled AI & Service Logic
β β βββ authService/ # Authentication & User Management
β β β βββ authController.js
β β β βββ authService.js
β β β βββ authRoutes.js
β β β βββ models/
β β β β βββ User.js
β β β β βββ Session.js
β β β βββ middleware/
β β β β βββ authMiddleware.js
β β
β β βββ aiService/ # AI & Machine Learning
β β β βββ emotionAnalysis.js # Emotion AI
β β β βββ sentimentAnalysis.js # NLP AI
β β β βββ medicalDiagnosis.js # AI Medical System
β β β βββ eqAnalysis.js # Empathy Quotient Analysis
β β β βββ facialExpression.js # AI-Powered Avatar UI
β β β βββ voiceProcessing.js # Voice & Speech-to-Text AI
β β β βββ utils/
β β β β βββ preProcess.js # AI Preprocessing Utils
β β β β βββ postProcess.js # AI Postprocessing Utils
β β
β β βββ chatService/ # AI Chat System
β β β βββ chatController.js
β β β βββ chatService.js
β β β βββ chatRoutes.js
β β β βββ models/
β β β β βββ ChatSession.js
β β β β βββ ChatHistory.js
β β
β β βββ dataService/ # Data & Analytics
β β β βββ analyticsService.js
β β β βββ loggerService.js
β β β βββ userTracking.js
β β
β βββ π database/ # Database Models
β β βββ schemas/
β β β βββ User.js
β β β βββ Chat.js
β β β βββ MedicalData.js
β β βββ migrations/
β β βββ seeds/
β β
β βββ π middleware/ # Security & Performance Middleware
β β βββ authMiddleware.js
β β βββ errorHandler.js
β β βββ requestLogger.js
β β βββ rateLimiter.js
β β βββ cacheMiddleware.js
β β
β βββ π utils/ # Utility Functions
β β βββ apiHandler.js
β β βββ logger.js
β β βββ validators.js
β β
β βββ π tests/ # Automated Testing
β β βββ test_auth.js
β β βββ test_chat.js
β β βββ test_ai.js
β
βββ π frontend/ # Next.js Frontend
β βββ π components/ # Reusable UI Components
β β βββ ChatUI.jsx
β β βββ Avatar3D.jsx
β β βββ Dashboard.jsx
β β
β βββ π pages/ # Page Routes
β β βββ index.jsx
β β βββ login.jsx
β β βββ chat.jsx
β β
β βββ π styles/ # Styling
β β βββ global.css
β β βββ theme.css
β
β βββ π services/ # Frontend API Calls
β β βββ api.js
β
β βββ π hooks/ # Custom React Hooks
β β βββ useChat.js
β β βββ useAuth.js
β
β βββ π next.config.js # Next.js Config
β βββ π package.json # NPM Dependencies
β βββ π README.md # Frontend Docs
β
βββ π deployment/ # DevOps & Deployment
β βββ π Dockerfile # Containerization
β βββ π docker-compose.yml # Multi-Container Deployment
β βββ π k8s-deployment.yaml # Kubernetes Deployment
β βββ π github-actions.yml # CI/CD Pipeline
β
βββ π docs/ # Documentation
βββ π API.md # API Docs
βββ π SYSTEM_ARCHITECTURE.md # Architecture Docs