Aplikace pro ukládání a sdílení výsledků modelů lodí kategorií EX-500 a EX-A. Architektura využívá Repository pattern, kde jsou data primárně uložena v zařízení a synchronizována mezi uživateli pomocí centrálního serveru.
- Přidání lodě: Klikněte na ikonu lodi v hlavním menu. Vyplňte jméno a třídu lodi.
- Přidání závodu: Klikněte na ikonu kalendáře. Zadejte název závodu a datum.
- Záznam jízdy: Na hlavní obrazovce klikněte na loď. Vyberte závod a zadejte parametry jízdy (zásahy, směr, čas).
- Synchronizace: Pro nahrání dat na server nebo stažení dat od ostatních klikněte na ikonu synchronizace na hlavní obrazovce.
- Nastavení: V menu pod třemi tečkami najdete Nastavení, kde lze změnit URL backendu, jazyk aplikace nebo barevné téma.
Backend je postaven na Pythonu s využitím frameworku Flask.
Požadavky:
- Python 3.x
- Flask, Flask-SQLAlchemy
Instalace:
- Přejděte do adresáře
ServerSide/. - Nainstalujte potřebné balíčky:
python3 -m pip install flask flask-sqlalchemy --break-system-packages
Spuštění:
- Upravte konfiguraci v
config.pynebo vytvořteconfig_local.jsonpro nastavení hostitele a portu. - Spusťte server:
python3 DataColector.py
Server bude ve výchozím nastavení naslouchat na adrese definované v konfiguraci (např. port 5051).
Application for saving and sharing results of ship models in categories EX-500 and EX-A. The architecture uses the Repository pattern, where data is primarily stored on the device and distributed among users via server synchronization.
- Add a Boat: Click the boat icon on the main screen. Fill in the name and boat class.
- Add a Race: Click the calendar icon. Enter the race name and date.
- Record a Run: On the main screen, click on a boat. Select a race and enter the run parameters (hits, direction, time).
- Synchronization: To upload data to the server or download data from others, click the sync icon on the main screen.
- Settings: In the three-dot menu, you can find Settings to change the backend URL, application language, or color theme.
The backend is built with Python using the Flask framework.
Requirements:
- Python 3.x
- Flask, Flask-SQLAlchemy
Installation:
- Navigate to the
ServerSide/directory. - Install the required packages:
python3 -m pip install flask flask-sqlalchemy --break-system-packages
Running:
- Adjust the configuration in
config.pyor createconfig_local.jsonto set the host and port. - Start the server:
python3 DataColector.py
By default, the server will listen on the address defined in the configuration (e.g., port 5051).

