52356e634eba81e64cb6f75e0e81105c38deeeff
- Implemented calendar_sync_utils.py for shared utility functions including DB connection, Google Calendar service initialization, Redis client setup, and employee sync operations. - Created beteiligte_sync_cron_step.py to handle periodic sync of Beteiligte entities, checking for new, modified, failed, and stale records, and emitting sync events accordingly.
Motia III - BitByLaw Backend
Motia Backend-Anwendung powered by the iii engine.
Project Structure
bitbylaw/
├── steps/ # Motia Steps (Business Logic)
├── iii-config.yaml # iii Engine Configuration
├── pyproject.toml # Python Dependencies
└── .venv/ # Python Virtual Environment
Services
- Motia API: Port 3111 (https://api-motia.bitbylaw.com)
- iii Console: Port 3113 (https://motia.bitbylaw.com)
- Streams/WebSocket: Port 3114
Systemd Services
motia.service- Backend Engineiii-console.service- Observability Dashboard
Development
# Install dependencies
uv sync
# Start locally
iii -c iii-config.yaml
Production
Services run automatically via systemd on boot.
# Restart services
systemctl restart motia.service iii-console.service
# View logs
journalctl -u motia.service -f
journalctl -u iii-console.service -f
Deployment
Deployed on: motia.bitbylaw.com
Date: März 2026
Description
Languages
Python
100%