02. Architecture (Evidence-Backed)

High-Level Runtime Model

Mobiloan appears to be a JourneyApps-style application architecture with:

  • Mobile/client layer under mobile/ (views + JS behavior)

  • Server-side logic under cloudcode/

  • Data model in schema.xml

  • Sync behavior in sync_rules.xml

  • App/runtime configuration in application.xml, config.json, settings.json, deploy.yml

Evidence

  • Mobiloan/application.xml

  • Mobiloan/mobile/*.view.xml

  • Mobiloan/mobile/*.js

  • Mobiloan/cloudcode/*/index.js

  • Mobiloan/schema.xml

  • Mobiloan/sync_rules.xml

Repository Map (Top Level)

  • application.xml

  • cloudcode/

  • config.json

  • deploy.yml

  • mobile/

  • schema.xml

  • settings.json

  • sync_rules.xml

  • view-templates/

Frontend Architecture (Initial)

  • View definitions are XML-based in mobile/*.view.xml

  • View logic is JS-based in mobile/*.js

  • Shared helper behavior appears centralized in mobile/app.js

Backend Architecture (Initial)

  • Backend/server functions are implemented per module in cloudcode/<module>/index.js

Data Layer (Initial)

  • Domain model entities and fields are defined in schema.xml

  • Sync behavior and data access constraints are defined in sync_rules.xml

Unknowns / To Validate

  • Build tooling: NOT FOUND IN REPO (no package.json, vite, webpack, tsconfig discovered at top scan)

  • External CI pipeline config: NOT FOUND IN REPO (no .github/workflows or .gitlab-ci.yml discovered at top scan)

  • Explicit logging framework: pending deeper cloudcode scan

  • Explicit auth/session implementation details: pending deeper scan

Last updated