This repository was archived by the owner on May 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
| 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. |