How mwantech/health-tracking-system- works
Main Components
A. Frontend Layer (React.js)
• Test Kit Ordering System
• Telemedicine Module
• AI Symptom Checker
• An Authentication Component (based on Login/Signup components)
• Admin Dashboard separately
B. Backend Layer (Node.js)
• API Gateway/Routes
• Authentication Service
• Business Logic Layer
• External Service Integrations
C. Database Layer (MySQL)
• User Management
• Test Kit Orders
• Telemedicine Sessions
• Admin Data
D. External Services
• OpenAI API (for Symptom Checker)
• Email Service (Nodemailer)
• Video Conferencing Service (for Telemedicine)
Component Relationships
• Backend → Database: Data persistence operations
• Backend → External Services: API integrations
• Authentication flow across all layers
Specific Implementation Details
A. Frontend Structure (based on file tree):
• Component hierarchy:
• Pages (Homepage, SymptomChecker, Telemedicine, etc.)
• Shared Components (Header, Footer)
• Admin Components
• Authentication Components
B. Backend Services (mentioned in README):
• Authentication Service (JWT)
• Email Service
• AI Integration Service
• Video Conference Service
• Database Service
Additional Elements
Include:
• Data flow directions
• Security boundaries
• API endpoints
• Environment configurations