Skip to content
This repository was archived by the owner on May 9, 2026. It is now read-only.

Software Architecture

SarOhayon edited this page Nov 9, 2025 · 21 revisions

Show us the layers in your system and your domain classes. You can also include individual class diagrams in your stories on GitHub

Put in your highlevel arch diagram (ie the major components)

For all existing arch diagrams, please only describe changes in your arch

System Architecture Diagram

Connection between Project Directory Structure and System Architecture

Architectural Layer Example in Diagram (ERD) Implementation in Code Description
Core Entities / Database User, Claim, Flight, Documents backend/src/db/schema.ts Tables in the ERD are represented as Drizzle ORM models.
Relationships / Domain Logic Foreign keys (e.g., Claim → User, Claim → Flight) backend/src/services/ Services implement logic connecting database entities.
API Layer (Controllers) (Not shown in ERD) backend/src/routes/ REST endpoints exposing backend functionality.
Automation / AI Integrations AI-Agent, OCR_result backend/src/emails/, backend/src/jobs/ Automated claim handling, OCR, and background jobs.
Frontend / Presentation (Not represented in ERD) frontend/ React Native interface for user interaction.
Testing / Validation (Not represented in ERD) backend/src/test/, frontend/__tests__/ Unit and integration testing layers.
Configuration / Infrastructure (Not represented in ERD) docker-compose.yml, tsconfig.json, eslint.config.mts Build, lint, and deployment configuration.
Workflow Automation (Implicit support layer) n8n/ Workflow orchestration and process automation.

Database ER Diagram

Link to Lucide Chart Diagram

ERD AERO

Domain Diagrams

Screenshot 2025-11-06 at 8 45 30 PM

Clone this wiki locally