# kanjo-elkamira-ndi/bolo architecture

> Architecture diagram of the GitHub repository kanjo-elkamira-ndi/bolo, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kanjo-elkamira-ndi/bolo
- Repository: https://github.com/kanjo-elkamira-ndi/bolo

## Overview

The checked-in files shown are mostly framework starter screens and native Flutter host shells, not the marketplace described in the README. The tree contains no server source, web feature modules, or Flutter `lib/` code, so marketplace workflows such as gigs, escrow, workrooms, and payments cannot be mapped to implementations here. Edges below reflect only visible app entrypoints and host setup; the README’s product capabilities are not evidenced by the sampled source.

Main entry points: [`mobile/windows/runner/flutter_window.h`](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/flutter_window.h) (Flutter window), [`web/src/main.tsx`](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/web/src/main.tsx) (Web entrypoint), [`super-admin/src/main.tsx`](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/super-admin/src/main.tsx) (Admin entrypoint), [`mobile/windows/runner/main.cpp`](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/main.cpp) (Windows launcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web starter"]
  node_web_entry["Web entrypoint<br/>[main.tsx]"]
  node_web_app["Web starter screen<br/>[App.tsx]"]
end

subgraph group_admin["Admin starter"]
  node_admin_entry["Admin entrypoint<br/>[main.tsx]"]
  node_admin_app["Admin starter screen<br/>[App.tsx]"]
end

subgraph group_mobile["Flutter host shells"]
  node_win_main["Windows launcher<br/>[main.cpp]"]
  node_flutter_window["Flutter window<br/>[flutter_window.h]"]
  node_win_window["Windows window host<br/>[win32_window.h]"]
  node_linux_main["Linux launcher<br/>[main.cc]"]
  node_linux_app["Linux application<br/>[my_application.h]"]
  node_linux_plugins["Linux plugin registration"]
  node_windows_plugins["Windows plugin registration"]
  node_ios_delegate["iOS app delegate<br/>[AppDelegate.swift]"]
  node_macos_delegate["macOS app delegate<br/>[AppDelegate.swift]"]
  node_macos_window["macOS Flutter window"]
end

node_web_entry -->|"renders"| node_web_app
node_admin_entry -->|"renders"| node_admin_app
node_win_main -->|"creates"| node_flutter_window
node_flutter_window -->|"extends"| node_win_window
node_linux_main -->|"creates"| node_linux_app

click node_web_entry "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/web/src/main.tsx"
click node_web_app "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/web/src/App.tsx"
click node_admin_entry "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/super-admin/src/main.tsx"
click node_admin_app "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/super-admin/src/App.tsx"
click node_win_main "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/main.cpp"
click node_flutter_window "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/flutter_window.h"
click node_win_window "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/win32_window.h"
click node_linux_main "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/linux/runner/main.cc"
click node_linux_app "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/linux/runner/my_application.h"
click node_linux_plugins "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/linux/flutter/generated_plugin_registrant.h"
click node_windows_plugins "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/flutter/generated_plugin_registrant.h"
click node_ios_delegate "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/ios/Runner/AppDelegate.swift"
click node_macos_delegate "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/macos/Runner/AppDelegate.swift"
click node_macos_window "https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/macos/Runner/MainFlutterWindow.swift"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web_entry,node_web_app toneBlue
class node_admin_entry,node_admin_app toneAmber
class node_win_main,node_flutter_window,node_win_window,node_linux_main,node_linux_app,node_linux_plugins,node_windows_plugins,node_ios_delegate,node_macos_delegate,node_macos_window toneMint
```

## Components

### Web starter

- [Web entrypoint](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/web/src/main.tsx): `web/src/main.tsx`
- [Web starter screen](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/web/src/App.tsx): `web/src/App.tsx`

### Admin starter

- [Admin entrypoint](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/super-admin/src/main.tsx): `super-admin/src/main.tsx`
- [Admin starter screen](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/super-admin/src/App.tsx): `super-admin/src/App.tsx`

### Flutter host shells

- [Windows launcher](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/main.cpp): `mobile/windows/runner/main.cpp`
- [Flutter window](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/flutter_window.h): `mobile/windows/runner/flutter_window.h`
- [Windows window host](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/runner/win32_window.h): `mobile/windows/runner/win32_window.h`
- [Linux launcher](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/linux/runner/main.cc): `mobile/linux/runner/main.cc`
- [Linux application](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/linux/runner/my_application.h): `mobile/linux/runner/my_application.h`
- [Linux plugin registration](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/linux/flutter/generated_plugin_registrant.h): `mobile/linux/flutter/generated_plugin_registrant.h`
- [Windows plugin registration](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/windows/flutter/generated_plugin_registrant.h): `mobile/windows/flutter/generated_plugin_registrant.h`
- [iOS app delegate](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/ios/Runner/AppDelegate.swift): `mobile/ios/Runner/AppDelegate.swift`
- [macOS app delegate](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/macos/Runner/AppDelegate.swift): `mobile/macos/Runner/AppDelegate.swift`
- [macOS Flutter window](https://github.com/kanjo-elkamira-ndi/bolo/blob/main/mobile/macos/Runner/MainFlutterWindow.swift): `mobile/macos/Runner/MainFlutterWindow.swift`

## Connections

- Web entrypoint → Web starter screen: renders (evidence: `web/src/main.tsx`)
- Admin entrypoint → Admin starter screen: renders (evidence: `super-admin/src/main.tsx`)
- Windows launcher → Flutter window: creates (evidence: `mobile/windows/runner/main.cpp`)
- Flutter window → Windows window host: extends (evidence: `mobile/windows/runner/flutter_window.h`)
- Linux launcher → Linux application: creates (evidence: `mobile/linux/runner/main.cc`)
