# eliteway-holdings/eliteway-dasboard architecture

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

- Interactive diagram: https://gitdiagram.com/eliteway-holdings/eliteway-dasboard
- Repository: https://github.com/eliteway-holdings/eliteway-dasboard

## Overview

Elite Way Club Flow is a multi-tenant agency workspace dashboard. Users sign in, enter a workspace or the platform-admin panel, and work with tasks, projects, team, outreach, resources, events, and payments. The sampled UI calls a central store for session and domain operations; task submission and payment are distinct workflows, while event planning and platform administration are separate branches. The README gives no product detail, and unsampled components are represented only where the source index establishes their scope or relationships.

Main entry points: [`src/services/store.ts`](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/services/store.ts) (Domain store), [`src/App.tsx`](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/App.tsx) (App router), [`src/components/workspace/MyTasksView.tsx`](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/MyTasksView.tsx) (My tasks), [`src/components/workspace/EventsView.tsx`](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/EventsView.tsx) (Events view)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App Entry"]
  node_app["App router<br/>[App.tsx]"]
  node_login["Sign in<br/>[LoginScreen.tsx]"]
  node_toast["Toast notices<br/>[ToastContainer.tsx]"]
  node_store["Domain store<br/>[store.ts]"]
  node_types["Domain types<br/>[types.ts]"]
end

subgraph group_workspace["Workspace Operations"]
  node_workspace_screen["Workspace screen"]
  node_outreach["Daily outreach"]
  node_events["Events view<br/>[EventsView.tsx]"]
  node_resources["Resources view<br/>[ResourcesView.tsx]"]
  node_event_create["Create event"]
  node_event_detail["Event details"]
end

subgraph group_tasks["Task Workflow"]
  node_task_view["My tasks<br/>[MyTasksView.tsx]"]
  node_task_submit["Submit work"]
  node_task_review["Review work"]
end

subgraph group_billing["Payments"]
  node_checkout["Client checkout"]
  node_wallet["Connect wallet"]
end

subgraph group_platform["Platform Admin"]
  node_ultra["Admin panel"]
  node_create_business["Create business"]
end

node_user(("Workspace user"))

node_user -->|"opens"| node_app
node_app -->|"loads session"| node_store
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_ultra
node_app -->|"renders"| node_toast
node_login -->|"saves session"| node_store
node_app -.->|"routes to"| node_workspace_screen
node_app -->|"opens"| node_create_business
node_workspace_screen -->|"renders"| node_task_view
node_workspace_screen -->|"uses operations"| node_store
node_outreach -->|"manages queue"| node_store
node_events -->|"reads account"| node_store
node_events -->|"opens"| node_event_create
node_events -->|"opens"| node_event_detail
node_task_view -->|"loads tasks"| node_store
node_task_view -->|"opens"| node_task_submit
node_task_view -->|"opens"| node_task_review
node_task_submit -->|"submits work"| node_store
node_checkout -->|"processes payment"| node_store
node_ultra -->|"opens"| node_create_business
node_ultra -->|"uses operations"| node_store
node_app -->|"uses session type"| node_types
node_store -->|"uses domain models"| node_types

click node_app "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/App.tsx"
click node_login "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/auth/LoginScreen.tsx"
click node_toast "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/common/ToastContainer.tsx"
click node_workspace_screen "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/WorkspaceScreen.tsx"
click node_outreach "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/DailyOutreachView.tsx"
click node_events "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/EventsView.tsx"
click node_resources "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/ResourcesView.tsx"
click node_task_view "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/MyTasksView.tsx"
click node_task_submit "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/TaskSubmitWorkModal.tsx"
click node_task_review "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/TaskReviewModal.tsx"
click node_event_create "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/CreateEventModal.tsx"
click node_event_detail "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/EventDetailModal.tsx"
click node_checkout "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/ClientCheckoutModal.tsx"
click node_wallet "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/ConnectWalletModal.tsx"
click node_ultra "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/ultra/UltraAdminScreen.tsx"
click node_create_business "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/CreateBusinessModal.tsx"
click node_store "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/services/store.ts"
click node_types "https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/types.ts"

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_app,node_login,node_toast,node_store,node_types,node_user toneBlue
class node_workspace_screen,node_outreach,node_events,node_resources,node_event_create,node_event_detail toneAmber
class node_task_view,node_task_submit,node_task_review toneMint
class node_checkout,node_wallet toneRose
class node_ultra,node_create_business toneIndigo
```

## Components

### App Entry

- [App router](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/App.tsx): `src/App.tsx`
- [Sign in](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/auth/LoginScreen.tsx): `src/components/auth/LoginScreen.tsx`
- [Toast notices](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/common/ToastContainer.tsx): `src/components/common/ToastContainer.tsx`
- [Domain store](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/services/store.ts): `src/services/store.ts`
- [Domain types](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/types.ts): `src/types.ts`

### Workspace Operations

- [Workspace screen](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/WorkspaceScreen.tsx): `src/components/workspace/WorkspaceScreen.tsx`
- [Daily outreach](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/DailyOutreachView.tsx): `src/components/workspace/DailyOutreachView.tsx`
- [Events view](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/EventsView.tsx): `src/components/workspace/EventsView.tsx`
- [Resources view](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/ResourcesView.tsx): `src/components/workspace/ResourcesView.tsx`
- [Create event](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/CreateEventModal.tsx): `src/components/modals/CreateEventModal.tsx`
- [Event details](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/EventDetailModal.tsx): `src/components/modals/EventDetailModal.tsx`

### Task Workflow

- [My tasks](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/workspace/MyTasksView.tsx): `src/components/workspace/MyTasksView.tsx`
- [Submit work](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/TaskSubmitWorkModal.tsx): `src/components/modals/TaskSubmitWorkModal.tsx`
- [Review work](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/TaskReviewModal.tsx): `src/components/modals/TaskReviewModal.tsx`

### Payments

- [Client checkout](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/ClientCheckoutModal.tsx): `src/components/modals/ClientCheckoutModal.tsx`
- [Connect wallet](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/ConnectWalletModal.tsx): `src/components/modals/ConnectWalletModal.tsx`

### Platform Admin

- [Admin panel](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/ultra/UltraAdminScreen.tsx): `src/components/ultra/UltraAdminScreen.tsx`
- [Create business](https://github.com/eliteway-holdings/eliteway-dasboard/blob/main/src/components/modals/CreateBusinessModal.tsx): `src/components/modals/CreateBusinessModal.tsx`

### Other components

- **Workspace user**

## Connections

- Workspace user → App router: opens
- App router → Domain store: loads session (evidence: `src/App.tsx`)
- App router → Sign in: routes to (evidence: `src/App.tsx`)
- App router → Admin panel: routes to (evidence: `src/App.tsx`)
- App router → Toast notices: renders (evidence: `src/App.tsx`)
- Sign in → Domain store: saves session (evidence: `src/components/auth/LoginScreen.tsx`)
- App router → Workspace screen: routes to (evidence: `src/App.tsx`)
- App router → Create business: opens (evidence: `src/App.tsx`)
- Workspace screen → My tasks: renders (evidence: `src/components/workspace/WorkspaceScreen.tsx`)
- Workspace screen → Domain store: uses operations (evidence: `src/components/workspace/WorkspaceScreen.tsx`)
- Daily outreach → Domain store: manages queue (evidence: `src/components/workspace/DailyOutreachView.tsx`)
- Events view → Domain store: reads account (evidence: `src/components/workspace/EventsView.tsx`)
- Events view → Create event: opens (evidence: `src/components/workspace/EventsView.tsx`)
- Events view → Event details: opens (evidence: `src/components/workspace/EventsView.tsx`)
- My tasks → Domain store: loads tasks (evidence: `src/components/workspace/MyTasksView.tsx`)
- My tasks → Submit work: opens (evidence: `src/components/workspace/MyTasksView.tsx`)
- My tasks → Review work: opens (evidence: `src/components/workspace/MyTasksView.tsx`)
- Submit work → Domain store: submits work (evidence: `src/components/modals/TaskSubmitWorkModal.tsx`)
- Client checkout → Domain store: processes payment (evidence: `src/components/modals/ClientCheckoutModal.tsx`)
- Admin panel → Create business: opens (evidence: `src/components/ultra/UltraAdminScreen.tsx`)
- Admin panel → Domain store: uses operations (evidence: `src/components/ultra/UltraAdminScreen.tsx`)
- App router → Domain types: uses session type (evidence: `src/App.tsx`)
- Domain store → Domain types: uses domain models (evidence: `src/services/store.ts`)
