# aakashyadav-sys/kanban-app architecture

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

- Interactive diagram: https://gitdiagram.com/aakashyadav-sys/kanban-app
- Repository: https://github.com/aakashyadav-sys/kanban-app

## Overview

This is a React Native task-board app. The user opens the board, views its columns and cards, and can add or edit board items; the Zustand store manages board state and persists it through AsyncStorage. The excerpts show the board and card operations, but do not show every store action wired to the interface, so the graph avoids inferring additional UI workflows. The README describes a generic React Native starter rather than documenting further product capabilities.

Main entry points: [`store/kanbanStore.ts`](https://github.com/aakashyadav-sys/kanban-app/blob/main/store/kanbanStore.ts) (Kanban store), [`components/KanbanColumn.tsx`](https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanColumn.tsx) (Column view), [`App.tsx`](https://github.com/aakashyadav-sys/kanban-app/blob/main/App.tsx) (App root), [`components/KanbanBoard.tsx`](https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanBoard.tsx) (Board view)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App shell"]
  node_registration["App registration<br/>[index.js]"]
  node_app_root["App root<br/>[App.tsx]"]
end

subgraph group_board["Board interface"]
  node_header["Board header<br/>[Header.tsx]"]
  node_board_view["Board view<br/>[KanbanBoard.tsx]"]
  node_column_view["Column view<br/>[KanbanColumn.tsx]"]
  node_card_view["Card view<br/>[KanbanCard.tsx]"]
end

subgraph group_state["Board state"]
  node_store["Kanban store<br/>[kanbanStore.ts]"]
  node_types["Board types<br/>[kanban.ts]"]
end

node_user(("User"))
node_async_storage[("AsyncStorage")]

node_user -.->|"opens app"| node_registration
node_registration -->|"registers"| node_app_root
node_app_root -->|"renders"| node_header
node_app_root -->|"renders"| node_board_view
node_board_view -->|"reads and updates"| node_store
node_board_view -->|"renders"| node_column_view
node_column_view -->|"renders"| node_card_view
node_column_view -->|"updates"| node_store
node_card_view -->|"updates"| node_store
node_store -->|"persists state"| node_async_storage
node_store -->|"uses types"| node_types
node_column_view -->|"uses types"| node_types
node_card_view -->|"uses types"| node_types

click node_registration "https://github.com/aakashyadav-sys/kanban-app/blob/main/index.js"
click node_app_root "https://github.com/aakashyadav-sys/kanban-app/blob/main/App.tsx"
click node_header "https://github.com/aakashyadav-sys/kanban-app/blob/main/components/Header.tsx"
click node_board_view "https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanBoard.tsx"
click node_column_view "https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanColumn.tsx"
click node_card_view "https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanCard.tsx"
click node_store "https://github.com/aakashyadav-sys/kanban-app/blob/main/store/kanbanStore.ts"
click node_types "https://github.com/aakashyadav-sys/kanban-app/blob/main/types/kanban.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_registration,node_app_root,node_user toneBlue
class node_header,node_board_view,node_column_view,node_card_view,node_async_storage toneAmber
class node_store,node_types toneMint
```

## Components

### App shell

- [App registration](https://github.com/aakashyadav-sys/kanban-app/blob/main/index.js): `index.js`
- [App root](https://github.com/aakashyadav-sys/kanban-app/blob/main/App.tsx): `App.tsx`

### Board interface

- [Board header](https://github.com/aakashyadav-sys/kanban-app/blob/main/components/Header.tsx): `components/Header.tsx`
- [Board view](https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanBoard.tsx): `components/KanbanBoard.tsx`
- [Column view](https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanColumn.tsx): `components/KanbanColumn.tsx`
- [Card view](https://github.com/aakashyadav-sys/kanban-app/blob/main/components/KanbanCard.tsx): `components/KanbanCard.tsx`

### Board state

- [Kanban store](https://github.com/aakashyadav-sys/kanban-app/blob/main/store/kanbanStore.ts): `store/kanbanStore.ts`
- [Board types](https://github.com/aakashyadav-sys/kanban-app/blob/main/types/kanban.ts): `types/kanban.ts`

### Other components

- **User**
- **AsyncStorage**

## Connections

- User → App registration: opens app
- App registration → App root: registers (evidence: `index.js`)
- App root → Board header: renders (evidence: `App.tsx`)
- App root → Board view: renders (evidence: `App.tsx`)
- Board view → Kanban store: reads and updates (evidence: `components/KanbanBoard.tsx`)
- Board view → Column view: renders (evidence: `components/KanbanBoard.tsx`)
- Column view → Card view: renders (evidence: `components/KanbanColumn.tsx`)
- Column view → Kanban store: updates (evidence: `components/KanbanColumn.tsx`)
- Card view → Kanban store: updates (evidence: `components/KanbanCard.tsx`)
- Kanban store → AsyncStorage: persists state (evidence: `store/kanbanStore.ts`)
- Kanban store → Board types: uses types (evidence: `store/kanbanStore.ts`)
- Column view → Board types: uses types (evidence: `components/KanbanColumn.tsx`)
- Card view → Board types: uses types (evidence: `components/KanbanCard.tsx`)
