How medconnect1024/mediconnect works
Main System Components
Frontend Layer:
• Public Routes (/app/(public))
• Home page
• About page
• AI Assist features
• Blog
• Medical Team pages
• Private Routes (/app/(private))
• Dashboard
• Appointment management
• Consultation
• Hospital management
• Patient management
• Registration desk
• UI Components Layer (/components)
• Shared components
• UI elements
• Page-specific components
Backend Services:
• Convex Backend (/convex)
• Authentication
• Database operations
• Real-time updates
• API Routes (/app/api)
• QR generation
• IoT data handling
• AI/ML services
• Embeddings generation
External Services:
• OpenAI integration (for AI features)
• WhatsApp integration (via WATI)
• IoT devices connection
[Client Browsers/Devices] → [CDN/Edge Network]
[Next.js Frontend]
• Public Routes
• Private Routes
• UI Components
[Backend Services]
• Convex Backend
• API Routes
• External Services
[Databases]
• Convex Database
• File Storage
Important Relationships to Highlight
• Authentication flow between public and private routes
• Real-time data flow through Convex
• Demonstrate the AI/ML pipeline for the AI-assist feature
• Appointment scheduling flow
• Integration points with external services
Technical Stack Indicators
• Next.js 13+
• React
• Convex
• TypeScript
• Tailwind CSS
• OpenAI
• WhatsApp Business API
• IoT Protocols
Data Flow Patterns
• Client-server communication
• Real-time updates
• Authentication flow
• File upload/download paths
• External API interactions
• Appointment scheduling system
• Patient management flow
• AI-assisted diagnosis
• Hospital management system