# sandeshhegde45/kanban-task_board architecture

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

- Interactive diagram: https://gitdiagram.com/sandeshhegde45/kanban-task_board
- Repository: https://github.com/sandeshhegde45/kanban-task_board

## Overview

Kanban Task Board is a frontend project-management app. Users register or log in, manage projects, open a project board, create and move tasks, and refine the board with filters and sorting; notifications, themes, and undo toasts support that workflow. Redux Toolkit holds the app state, with projects, tasks, and notifications persisted to browser LocalStorage. The graph combines sampled source with README and source-index evidence; some feature internals were not sampled, so their uncertain links are left out or marked unverified.

Main entry points: [`src/features/tasks/pages/BoardPage.jsx`](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/pages/BoardPage.jsx) (Kanban board), [`src/routes/AppRoute.jsx`](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/routes/AppRoute.jsx) (Routes and guards), [`src/features/projects/projectStorage.js`](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectStorage.js) (Project persistence), [`src/features/tasks/taskStorage.js`](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskStorage.js) (Task persistence)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_routes["Routes and guards<br/>[AppRoute.jsx]"]
  node_app["App shell<br/>[App.jsx]"]
end

subgraph group_workflows["Project workflows"]
  node_authpages["Login and register<br/>[LoginPage.jsx]"]
  node_auth["Mock authentication<br/>[authService.js]"]
  node_projects["Project dashboard<br/>[ProjectsPage.jsx]"]
  node_projectops["Project operations<br/>[projectThunks.js]"]
  node_members["Member management<br/>[MembersModal.jsx]"]
  node_board["Kanban board<br/>[BoardPage.jsx]"]
  node_taskui["Task forms and cards<br/>[TaskForm.jsx]"]
  node_taskops["Task operations<br/>[taskThunks.js]"]
  node_filters["Task filtering<br/>[FilterBar.jsx]"]
  node_sorting["Task sorting<br/>[taskSort.js]"]
end

subgraph group_state["State and persistence"]
  node_store["Redux store<br/>[store.js]"]
  node_authstate["Auth state<br/>[authSlice.js]"]
  node_projectstate["Project state<br/>[projectSlice.js]"]
  node_taskstate["Task state<br/>[taskSlice.js]"]
  node_filterstate["Filter state<br/>[filterSlice.js]"]
  node_toaststate["Toast state<br/>[toastSlice.js]"]
  node_migration["Workspace seed and migration<br/>[legacyMigration.js]"]
  node_projectstorage["Project persistence<br/>[projectStorage.js]"]
  node_taskstorage["Task persistence<br/>[taskStorage.js]"]
  node_notificationstorage["Notification persistence"]
end

subgraph group_support["User experience"]
  node_notifications["Notification center"]
  node_theme["Theme controls<br/>[ThemeToggle.jsx]"]
  node_toasts["Toast and undo<br/>[ToastHost.jsx]"]
  node_sharedui["Shared UI primitives"]
end

node_user(("User"))
node_browserstore[("Browser LocalStorage")]

node_user -->|"navigates"| node_routes
node_routes -->|"routes to"| node_authpages
node_routes -->|"routes to"| node_projects
node_routes -->|"routes to"| node_board
node_authpages -->|"dispatches auth"| node_authstate
node_authstate -->|"calls"| node_auth
node_projects -->|"dispatches"| node_projectops
node_members -->|"dispatches"| node_projectops
node_board -->|"dispatches"| node_taskops
node_board -->|"renders"| node_filters
node_filters -->|"updates filters"| node_filterstate
node_board -->|"sorts tasks"| node_sorting
node_taskui -.->|"renders on"| node_board
node_store -->|"saves projects"| node_projectstorage
node_store -->|"saves tasks"| node_taskstorage
node_store -->|"saves notifications"| node_notificationstorage
node_projectstate -->|"loads projects"| node_projectstorage
node_taskstate -->|"loads tasks"| node_taskstorage
node_projectstorage -->|"migrates legacy data"| node_migration
node_taskstorage -->|"migrates legacy data"| node_migration
node_projectstorage -->|"reads and writes"| node_browserstore
node_taskstorage -->|"reads and writes"| node_browserstore
node_notificationstorage -->|"reads and writes"| node_browserstore
node_auth -->|"stores session"| node_browserstore
node_app -->|"renders"| node_routes
node_app -->|"renders"| node_toasts
node_toasts -->|"reads actions"| node_toaststate
node_app -.->|"applies theme"| node_theme
node_projects -.->|"may notify"| node_notifications
node_board -.->|"may notify"| node_notifications

click node_routes "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/routes/AppRoute.jsx"
click node_authpages "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/auth/pages/LoginPage.jsx"
click node_auth "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/auth/authService.js"
click node_projects "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/pages/ProjectsPage.jsx"
click node_projectops "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectThunks.js"
click node_members "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/components/MembersModal.jsx"
click node_board "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/pages/BoardPage.jsx"
click node_taskui "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/components/TaskForm.jsx"
click node_taskops "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskThunks.js"
click node_filters "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/filters/components/FilterBar.jsx"
click node_sorting "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskSort.js"
click node_notifications "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/notifications/components/NotificationBell.jsx"
click node_theme "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/theme/components/ThemeToggle.jsx"
click node_toasts "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/toast/components/ToastHost.jsx"
click node_store "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/app/store.js"
click node_authstate "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/auth/authSlice.js"
click node_projectstate "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectSlice.js"
click node_taskstate "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskSlice.js"
click node_filterstate "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/filters/filterSlice.js"
click node_toaststate "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/toast/toastSlice.js"
click node_migration "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/workspace/legacyMigration.js"
click node_projectstorage "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectStorage.js"
click node_taskstorage "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskStorage.js"
click node_notificationstorage "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/notifications/notificationStorage.js"
click node_sharedui "https://github.com/sandeshhegde45/kanban-task_board/tree/main/src/shared/components"
click node_app "https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/App.jsx"

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_routes,node_app,node_user toneBlue
class node_authpages,node_auth,node_projects,node_projectops,node_members,node_board,node_taskui,node_taskops,node_filters,node_sorting,node_browserstore toneAmber
class node_store,node_authstate,node_projectstate,node_taskstate,node_filterstate,node_toaststate,node_migration,node_projectstorage,node_taskstorage,node_notificationstorage toneMint
class node_notifications,node_theme,node_toasts,node_sharedui toneRose
```

## Components

### App navigation

- [Routes and guards](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/routes/AppRoute.jsx): `src/routes/AppRoute.jsx`
- [App shell](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/App.jsx): `src/App.jsx`

### Project workflows

- [Login and register](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/auth/pages/LoginPage.jsx): `src/features/auth/pages/LoginPage.jsx`
- [Mock authentication](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/auth/authService.js): `src/features/auth/authService.js`
- [Project dashboard](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/pages/ProjectsPage.jsx): `src/features/projects/pages/ProjectsPage.jsx`
- [Project operations](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectThunks.js): `src/features/projects/projectThunks.js`
- [Member management](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/components/MembersModal.jsx): `src/features/projects/components/MembersModal.jsx`
- [Kanban board](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/pages/BoardPage.jsx): `src/features/tasks/pages/BoardPage.jsx`
- [Task forms and cards](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/components/TaskForm.jsx): `src/features/tasks/components/TaskForm.jsx`
- [Task operations](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskThunks.js): `src/features/tasks/taskThunks.js`
- [Task filtering](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/filters/components/FilterBar.jsx): `src/features/filters/components/FilterBar.jsx`
- [Task sorting](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskSort.js): `src/features/tasks/taskSort.js`

### State and persistence

- [Redux store](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/app/store.js): `src/app/store.js`
- [Auth state](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/auth/authSlice.js): `src/features/auth/authSlice.js`
- [Project state](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectSlice.js): `src/features/projects/projectSlice.js`
- [Task state](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskSlice.js): `src/features/tasks/taskSlice.js`
- [Filter state](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/filters/filterSlice.js): `src/features/filters/filterSlice.js`
- [Toast state](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/toast/toastSlice.js): `src/features/toast/toastSlice.js`
- [Workspace seed and migration](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/workspace/legacyMigration.js): `src/features/workspace/legacyMigration.js`
- [Project persistence](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/projects/projectStorage.js): `src/features/projects/projectStorage.js`
- [Task persistence](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/tasks/taskStorage.js): `src/features/tasks/taskStorage.js`
- [Notification persistence](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/notifications/notificationStorage.js): `src/features/notifications/notificationStorage.js`

### User experience

- [Notification center](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/notifications/components/NotificationBell.jsx): `src/features/notifications/components/NotificationBell.jsx`
- [Theme controls](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/theme/components/ThemeToggle.jsx): `src/features/theme/components/ThemeToggle.jsx`
- [Toast and undo](https://github.com/sandeshhegde45/kanban-task_board/blob/main/src/features/toast/components/ToastHost.jsx): `src/features/toast/components/ToastHost.jsx`
- [Shared UI primitives](https://github.com/sandeshhegde45/kanban-task_board/tree/main/src/shared/components): `src/shared/components`

### Other components

- **User**
- **Browser LocalStorage**

## Connections

- User → Routes and guards: navigates (evidence: `src/routes/AppRoute.jsx`)
- Routes and guards → Login and register: routes to (evidence: `src/routes/AppRoute.jsx`)
- Routes and guards → Project dashboard: routes to (evidence: `src/routes/AppRoute.jsx`)
- Routes and guards → Kanban board: routes to (evidence: `src/routes/AppRoute.jsx`)
- Login and register → Auth state: dispatches auth (evidence: `src/features/auth/pages/LoginPage.jsx`)
- Auth state → Mock authentication: calls (evidence: `src/features/auth/authSlice.js`)
- Project dashboard → Project operations: dispatches (evidence: `src/features/projects/pages/ProjectsPage.jsx`)
- Member management → Project operations: dispatches (evidence: `src/features/projects/components/MembersModal.jsx`)
- Kanban board → Task operations: dispatches (evidence: `src/features/tasks/pages/BoardPage.jsx`)
- Kanban board → Task filtering: renders (evidence: `src/features/tasks/pages/BoardPage.jsx`)
- Task filtering → Filter state: updates filters (evidence: `src/features/filters/components/FilterBar.jsx`)
- Kanban board → Task sorting: sorts tasks (evidence: `src/features/tasks/pages/BoardPage.jsx`)
- Task forms and cards → Kanban board: renders on (evidence: `src/features/tasks/pages/BoardPage.jsx`)
- Redux store → Project persistence: saves projects (evidence: `src/app/store.js`)
- Redux store → Task persistence: saves tasks (evidence: `src/app/store.js`)
- Redux store → Notification persistence: saves notifications (evidence: `src/app/store.js`)
- Project state → Project persistence: loads projects (evidence: `src/features/projects/projectSlice.js`)
- Task state → Task persistence: loads tasks (evidence: `src/features/tasks/taskSlice.js`)
- Project persistence → Workspace seed and migration: migrates legacy data (evidence: `src/features/projects/projectStorage.js`)
- Task persistence → Workspace seed and migration: migrates legacy data (evidence: `src/features/tasks/taskStorage.js`)
- Project persistence → Browser LocalStorage: reads and writes (evidence: `src/features/projects/projectStorage.js`)
- Task persistence → Browser LocalStorage: reads and writes (evidence: `src/features/tasks/taskStorage.js`)
- Notification persistence → Browser LocalStorage: reads and writes (evidence: `src/features/notifications/notificationStorage.js`)
- Mock authentication → Browser LocalStorage: stores session (evidence: `src/features/auth/authService.js`)
- App shell → Routes and guards: renders (evidence: `src/App.jsx`)
- App shell → Toast and undo: renders (evidence: `src/App.jsx`)
- Toast and undo → Toast state: reads actions (evidence: `src/features/toast/components/ToastHost.jsx`)
- App shell → Theme controls: applies theme
- Project dashboard → Notification center: may notify
- Kanban board → Notification center: may notify
