How jflamy/owlcms4 works
System Type and Purpose
This is a complex, full-stack web application specifically designed for managing weightlifting competitions. The system appears to have both local and cloud deployment capabilities, with real-time features for competition management.
Main Architectural Components
a) Core Components:
• Frontend Layer (Vaadin-based web interface)
• Backend Services Layer
• Database Layer (supports both H2 and PostgreSQL)
• MQTT Message Broker (for real-time updates)
• Public Results Display System
b) Key Functional Modules:
• Competition Management
• Athlete Registration
• Weighing System
• Scoring System
• Results Display
• Records Management
• Technical Officials Interface
User Interface Layer
• Competition Management UI
• Referee Interface
• Public Display Screens
• Technical Controller Interface
• Announcer Interface
• Use Vaadin components symbol
Application Layer
• Core Services:
• Competition Service
• Athlete Management
• Scoring Engine
• Timing System
• Records Management
• Support Services:
• Authentication/Authorization
• Event Broadcasting
• Data Export/Import
Integration Layer
• MQTT Broker (for real-time updates)
• Public Results API
• External Systems Integration
Data Layer
• Primary Database (H2/PostgreSQL)
• File Storage (for documents/templates)
• Cache Layer
Interaction Flows
• User input flow through UI to services
• Real-time event broadcasting
• Database operations
• Public results distribution
• Integration points with external systems
Technical Details
• Vaadin framework components
• MQTT message paths
• Database connections
• REST endpoints
• WebSocket connections for real-time updates