# ahmedabdelrshed/mongiz architecture

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

- Interactive diagram: https://gitdiagram.com/ahmedabdelrshed/mongiz
- Repository: https://github.com/ahmedabdelrshed/mongiz

## Overview

Mongiz is a frontend-only Azure DevOps workspace. Users connect an Azure organization in Settings, then use the workspace to create or move work items, manage assigned work and estimates, and maintain local planning data and templates. The map includes documented capabilities whose detailed implementations were not sampled; those links are cited to the README. Several feature internals are represented by their existing feature directories because their individual source was not inspected.

Main entry points: [`src/app/App.tsx`](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/App.tsx) (App navigation), [`src/shared/api/azure.ts`](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/shared/api/azure.ts) (Azure API client), [`src/shared/storage/storage.ts`](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/shared/storage/storage.ts) (Local storage), [`src/app/Workspace.tsx`](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/Workspace.tsx) (Workspace context)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workspace["Workspace and connection"]
  node_app["App navigation<br/>[App.tsx]"]
  node_workspace_ctx["Workspace context<br/>[Workspace.tsx]"]
  node_settings["Connection settings<br/>[SettingsPage.tsx]"]
  node_auth["Authentication"]
  node_appearance["Appearance<br/>[Appearance.tsx]"]
end

subgraph group_workflows["Work item workflows"]
  node_bulk["Bulk story creation"]
  node_move["Move stories"]
  node_storypoints["Story points"]
end

subgraph group_personal["Personal work"]
  node_mywork["My Work<br/>[MyWorkPage.tsx]"]
  node_daily["Daily plan<br/>[model.ts]"]
  node_templates["Task templates"]
end

subgraph group_shared["Shared services"]
  node_azure_api["Azure API client<br/>[azure.ts]"]
  node_storage[("Local storage<br/>[storage.ts]")]
  node_shared_ui["Shared UI"]
end

node_user(("Workspace user"))
node_azure["Azure DevOps"]

node_user -->|"opens"| node_app
node_app -->|"mounts"| node_workspace_ctx
node_app -->|"routes to"| node_settings
node_app -->|"routes to"| node_bulk
node_app -->|"routes to"| node_move
node_app -->|"routes to"| node_storypoints
node_app -->|"routes to"| node_mywork
node_app -->|"routes to"| node_templates
node_settings -->|"configures"| node_auth
node_workspace_ctx -->|"queries"| node_azure_api
node_workspace_ctx -->|"persists settings"| node_storage
node_azure_api -->|"requests data"| node_azure
node_bulk -->|"creates items"| node_azure_api
node_move -.->|"moves items"| node_azure_api
node_mywork -.->|"loads and updates"| node_azure_api
node_storypoints -.->|"updates estimates"| node_azure_api
node_bulk -->|"renders"| node_shared_ui
node_move -->|"reads drafts"| node_storage
node_mywork -->|"persists drafts"| node_storage
node_daily -->|"uses"| node_storage
node_templates -->|"persists templates"| node_storage
node_appearance -->|"persists preference"| node_storage
node_user -->|"plans tasks"| node_daily
node_user -->|"manages templates"| node_templates
node_user -->|"chooses theme"| node_appearance

click node_app "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/App.tsx"
click node_workspace_ctx "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/Workspace.tsx"
click node_settings "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/project/SettingsPage.tsx"
click node_auth "https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/auth"
click node_appearance "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/Appearance.tsx"
click node_bulk "https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/bulk-create"
click node_move "https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/move-stories"
click node_storypoints "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/story-points/StoryPointsPage.tsx"
click node_mywork "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/my-work/MyWorkPage.tsx"
click node_daily "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/daily-plan/model.ts"
click node_templates "https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/templates"
click node_azure_api "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/shared/api/azure.ts"
click node_storage "https://github.com/ahmedabdelrshed/mongiz/blob/main/src/shared/storage/storage.ts"
click node_shared_ui "https://github.com/ahmedabdelrshed/mongiz/tree/main/src/shared/ui"

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_workspace_ctx,node_settings,node_auth,node_appearance,node_user toneBlue
class node_bulk,node_move,node_storypoints toneAmber
class node_mywork,node_daily,node_templates toneMint
class node_azure_api,node_storage,node_shared_ui toneRose
class node_azure toneIndigo
```

## Components

### Workspace and connection

- [App navigation](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/App.tsx): `src/app/App.tsx`
- [Workspace context](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/Workspace.tsx): `src/app/Workspace.tsx`
- [Connection settings](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/project/SettingsPage.tsx): `src/features/project/SettingsPage.tsx`
- [Authentication](https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/auth): `src/features/auth`
- [Appearance](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/app/Appearance.tsx): `src/app/Appearance.tsx`

### Work item workflows

- [Bulk story creation](https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/bulk-create): `src/features/bulk-create`
- [Move stories](https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/move-stories): `src/features/move-stories`
- [Story points](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/story-points/StoryPointsPage.tsx): `src/features/story-points/StoryPointsPage.tsx`

### Personal work

- [My Work](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/my-work/MyWorkPage.tsx): `src/features/my-work/MyWorkPage.tsx`
- [Daily plan](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/features/daily-plan/model.ts): `src/features/daily-plan/model.ts`
- [Task templates](https://github.com/ahmedabdelrshed/mongiz/tree/main/src/features/templates): `src/features/templates`

### Shared services

- [Azure API client](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/shared/api/azure.ts): `src/shared/api/azure.ts`
- [Local storage](https://github.com/ahmedabdelrshed/mongiz/blob/main/src/shared/storage/storage.ts): `src/shared/storage/storage.ts`
- [Shared UI](https://github.com/ahmedabdelrshed/mongiz/tree/main/src/shared/ui): `src/shared/ui`

### Other components

- **Workspace user**
- **Azure DevOps**

## Connections

- Workspace user → App navigation: opens (evidence: `README.md`)
- App navigation → Workspace context: mounts (evidence: `src/app/App.tsx`)
- App navigation → Connection settings: routes to (evidence: `src/app/App.tsx`)
- App navigation → Bulk story creation: routes to (evidence: `src/app/App.tsx`)
- App navigation → Move stories: routes to (evidence: `src/app/App.tsx`)
- App navigation → Story points: routes to (evidence: `src/app/App.tsx`)
- App navigation → My Work: routes to (evidence: `src/app/App.tsx`)
- App navigation → Task templates: routes to (evidence: `src/app/App.tsx`)
- Connection settings → Authentication: configures (evidence: `src/features/project/SettingsPage.tsx`)
- Workspace context → Azure API client: queries (evidence: `src/app/Workspace.tsx`)
- Workspace context → Local storage: persists settings (evidence: `src/app/Workspace.tsx`)
- Azure API client → Azure DevOps: requests data (evidence: `README.md`)
- Bulk story creation → Azure API client: creates items (evidence: `src/features/bulk-create/submit.ts`)
- Move stories → Azure API client: moves items
- My Work → Azure API client: loads and updates
- Story points → Azure API client: updates estimates
- Bulk story creation → Shared UI: renders (evidence: `src/features/bulk-create/BulkCreatePage.tsx`)
- Move stories → Local storage: reads drafts (evidence: `src/features/move-stories/MoveStoriesPage.tsx`)
- My Work → Local storage: persists drafts (evidence: `src/features/my-work/MyWorkPage.tsx`)
- Daily plan → Local storage: uses (evidence: `src/features/daily-plan/model.ts`)
- Task templates → Local storage: persists templates (evidence: `src/features/templates/model.ts`)
- Appearance → Local storage: persists preference (evidence: `src/app/Appearance.tsx`)
- Workspace user → Daily plan: plans tasks (evidence: `README.md`)
- Workspace user → Task templates: manages templates (evidence: `README.md`)
- Workspace user → Appearance: chooses theme (evidence: `README.md`)
