How andrewboldi/amc-trainer works
Main Components Identification
The system consists of three major components:
a. Web Application
• Frontend static website (root directory)
• HTML, CSS, and JavaScript files
• Problem generation interface
b. Mobile Applications
• Android app (amc-mobile-app/android)
• iOS app (amc-mobile-app/ios)
• Built using Capacitor/Cordova framework
c. Flutter Application
• Cross-platform mobile app (amc_flutter)
• Separate implementation using Flutter framework
• Client Layer |
• Web Client | | Android App | | iOS App | | Flutter App | |
• (HTML/JS/CSS)| | (Capacitor/Cordova)| |(Capacitor/Cordova)| |(Cross-platform) | |
• v
• Core Logic Layer |
• Problem Generator | | Topic Classifier | | User Progress Track | |
• v
• Data Layer |
• Problem Database | | User Data Store | | Analytics Storage | |
Component Relationships
• User interaction flows
• Data flow between components
• API calls and responses
• State management paths
Additional Elements
a. Infrastructure Components:
• Static file hosting
• Mobile app distribution
• API endpoints
b. Cross-cutting Concerns:
• Authentication
• Error handling
• Caching
• Analytics
Implementation Details
• Shared code between platforms
• Platform-specific implementations
• Build and deployment processes
• State management approach
• Export to common formats
• Collaboration features