This project have config for vscode dev container
So in case you open project in vscode and you have docker installed in system - you just run command Dev containers: reopen in dev container
command to get all dev environment
Note: If you use podman an additional configuration may required https://jahed.dev/2023/05/27/remote-development-with-vs-code-podman/
Another options is using devbox tool for install unnecessary environment
devbox install
Repository have set of scripts that helps build, test, and release app.
flutter build apk
All top level logic described in /main/controller.dart
module
When app booted in try to recover previous user sessions.
In case if success app goes to setup
stage, else user redirected to login screen,
and setup
stage will executed after successful login
During the installation process, the program requests the necessary accesses, instantiates the services
- ApiClient - describe backend api
- OpenIdClient - handle auth logic - login / logout / handle 401 errors / keep tokens fresh
- OpenIdApi - describe auth api
- OpenIdClient - handle auth logic - login / logout / handle 401 errors / keep tokens fresh
Contain all sensors records during period of time
- Listens to sensors and fills snapshots with sensor data
- listens to gps channel and create new snapshot on every position change
- Adding new snapshots to
queue
Sending snapshots from queue
to backend
Sensors + GPS ---(data)--> Tracker ---(Snapshot)--> Queue --> Sender --> Client --> Backend