Commits were merged into target branch
-
4 days ago
-
4 days ago
-
4 days ago
-
4 days ago
-
Previous Value Current Value KI-65: Offline-first Kokonut Field Collector
feat(mobile): Field Collector with LAN gateway access
-
Summary
services/mobile) with GPS/photos, localStorage queue, and device-token register/forms/sync API on the FastAPI gateway.gatewayservice (Dockerfile.gateway) and Caddy/Traefik routes for/mobileand/api/mobile/*so phones on the LAN can collect and sync same-origin without manual API URL setup.docs/deployment.mdand the rootREADME.md.Entry points
https://<host-lan-ip>/mobile(afterdocker compose up -d --build gateway caddy)https://<host-lan-ip>/field/field-collector.htmlhttp://127.0.0.1:8099/mobile/field-collector/→ Caddy static pathTest plan
KOKONUT_ALLOW_PLAINTEXT_ENV=true POSTGRES_PASSWORD=test CLICKHOUSE_PASSWORD=test .venv/bin/python -m pytest tests/test_mobile_api.py tests/test_gateway_auth.py tests/test_documentation_consistency.py -qdocker compose config -qandCADDY_DOMAIN=example.com docker compose -f docker-compose.yml -f docker-compose.prod.yml config -q./scripts/check-image-digests.shdocker compose up -d --build gateway caddythencurl -fsS http://127.0.0.1:8099/healthandcurl -kfsS https://localhost/mobilehttps://<host-lan-ip>/mobile, save a record offline, sync when online (accept dev cert warning)Closes KI-65
Co-Authored-By: Oz oz-agent@warp.dev