# londheshubham153/devboard architecture

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

- Interactive diagram: https://gitdiagram.com/londheshubham153/devboard
- Repository: https://github.com/londheshubham153/devboard

## Overview

DevBoard is a project-and-task dashboard: users view project progress, browse tasks in a board or list, create tasks, change status, and search. The main data path runs from React pages and controls through the task hooks or search client, to the Go API and Postgres. The README documents the API, database setup, and example data; the backend source was indexed as read but not excerpted here, so internal handler-to-query details are not inferred.

Main entry points: [`frontend/src/hooks/useTasks.js`](https://github.com/londheshubham153/devboard/blob/master/frontend/src/hooks/useTasks.js) (Task data hooks), [`frontend/src/App.jsx`](https://github.com/londheshubham153/devboard/blob/master/frontend/src/App.jsx) (App routes), [`frontend/src/pages/ProjectPage.jsx`](https://github.com/londheshubham153/devboard/blob/master/frontend/src/pages/ProjectPage.jsx) (Project workspace), [`frontend/src/components/tasks/KanbanBoard.jsx`](https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/KanbanBoard.jsx) (Board and list views)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["React application"]
  node_app_routes["App routes<br/>[App.jsx]"]
  node_app_shell["App shell<br/>[AppShell.jsx]"]
  node_dashboard["Dashboard<br/>[DashboardPage.jsx]"]
  node_project_page["Project workspace<br/>[ProjectPage.jsx]"]
  node_task_views["Board and list views<br/>[KanbanBoard.jsx]"]
  node_task_card["Task cards<br/>[TaskCard.jsx]"]
  node_task_create["Task creation"]
  node_command_search["Command search<br/>[CommandBar.jsx]"]
  node_task_data["Task data hooks<br/>[useTasks.js]"]
  node_api_client["REST client<br/>[client.js]"]
end

subgraph group_backend["API and persistence"]
  node_go_api["Go API<br/>[main.go]"]
  node_postgres[("Postgres")]
end

subgraph group_database_setup["Database setup"]
  node_schema["Database schema<br/>[01_schema.sql]"]
  node_seed_data["Example data<br/>[02_seed.sql]"]
end

node_user(("Browser user"))

node_user -->|"uses"| node_app_routes
node_app_routes -->|"renders"| node_app_shell
node_app_routes -->|"routes to"| node_dashboard
node_app_routes -->|"routes to"| node_project_page
node_dashboard -->|"loads projects and tasks"| node_task_data
node_project_page -->|"loads tasks"| node_task_data
node_project_page -->|"renders"| node_task_views
node_task_views -->|"renders"| node_task_card
node_task_views -->|"updates status"| node_task_data
node_project_page -->|"opens"| node_task_create
node_task_create -->|"creates task"| node_task_data
node_command_search -->|"searches"| node_api_client
node_task_data -->|"requests data"| node_api_client
node_api_client -->|"sends /api requests"| node_go_api
node_go_api -->|"reads and writes"| node_postgres
node_schema -.->|"defines schema"| node_postgres
node_seed_data -->|"loads example data"| node_postgres

click node_app_routes "https://github.com/londheshubham153/devboard/blob/master/frontend/src/App.jsx"
click node_app_shell "https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/layout/AppShell.jsx"
click node_dashboard "https://github.com/londheshubham153/devboard/blob/master/frontend/src/pages/DashboardPage.jsx"
click node_project_page "https://github.com/londheshubham153/devboard/blob/master/frontend/src/pages/ProjectPage.jsx"
click node_task_views "https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/KanbanBoard.jsx"
click node_task_card "https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/TaskCard.jsx"
click node_task_create "https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/TaskCreateModal.jsx"
click node_command_search "https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/layout/CommandBar.jsx"
click node_task_data "https://github.com/londheshubham153/devboard/blob/master/frontend/src/hooks/useTasks.js"
click node_api_client "https://github.com/londheshubham153/devboard/blob/master/frontend/src/api/client.js"
click node_go_api "https://github.com/londheshubham153/devboard/blob/master/backend/main.go"
click node_schema "https://github.com/londheshubham153/devboard/blob/master/init/postgres/01_schema.sql"
click node_seed_data "https://github.com/londheshubham153/devboard/blob/master/init/postgres/02_seed.sql"

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_routes,node_app_shell,node_dashboard,node_project_page,node_task_views,node_task_card,node_task_create,node_command_search,node_task_data,node_api_client,node_user toneBlue
class node_go_api,node_postgres toneAmber
class node_schema,node_seed_data toneMint
```

## Components

### React application

- [App routes](https://github.com/londheshubham153/devboard/blob/master/frontend/src/App.jsx): `frontend/src/App.jsx`
- [App shell](https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/layout/AppShell.jsx): `frontend/src/components/layout/AppShell.jsx`
- [Dashboard](https://github.com/londheshubham153/devboard/blob/master/frontend/src/pages/DashboardPage.jsx): `frontend/src/pages/DashboardPage.jsx`
- [Project workspace](https://github.com/londheshubham153/devboard/blob/master/frontend/src/pages/ProjectPage.jsx): `frontend/src/pages/ProjectPage.jsx`
- [Board and list views](https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/KanbanBoard.jsx): `frontend/src/components/tasks/KanbanBoard.jsx`
- [Task cards](https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/TaskCard.jsx): `frontend/src/components/tasks/TaskCard.jsx`
- [Task creation](https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/tasks/TaskCreateModal.jsx): `frontend/src/components/tasks/TaskCreateModal.jsx`
- [Command search](https://github.com/londheshubham153/devboard/blob/master/frontend/src/components/layout/CommandBar.jsx): `frontend/src/components/layout/CommandBar.jsx`
- [Task data hooks](https://github.com/londheshubham153/devboard/blob/master/frontend/src/hooks/useTasks.js): `frontend/src/hooks/useTasks.js`
- [REST client](https://github.com/londheshubham153/devboard/blob/master/frontend/src/api/client.js): `frontend/src/api/client.js`

### API and persistence

- [Go API](https://github.com/londheshubham153/devboard/blob/master/backend/main.go): `backend/main.go`
- **Postgres**

### Database setup

- [Database schema](https://github.com/londheshubham153/devboard/blob/master/init/postgres/01_schema.sql): `init/postgres/01_schema.sql`
- [Example data](https://github.com/londheshubham153/devboard/blob/master/init/postgres/02_seed.sql): `init/postgres/02_seed.sql`

### Other components

- **Browser user**

## Connections

- Browser user → App routes: uses (evidence: `README.md`)
- App routes → App shell: renders (evidence: `frontend/src/App.jsx`)
- App routes → Dashboard: routes to (evidence: `frontend/src/App.jsx`)
- App routes → Project workspace: routes to (evidence: `frontend/src/App.jsx`)
- Dashboard → Task data hooks: loads projects and tasks (evidence: `frontend/src/pages/DashboardPage.jsx`)
- Project workspace → Task data hooks: loads tasks (evidence: `frontend/src/pages/ProjectPage.jsx`)
- Project workspace → Board and list views: renders (evidence: `frontend/src/pages/ProjectPage.jsx`)
- Board and list views → Task cards: renders (evidence: `frontend/src/components/tasks/KanbanBoard.jsx`)
- Board and list views → Task data hooks: updates status (evidence: `frontend/src/components/tasks/KanbanBoard.jsx`)
- Project workspace → Task creation: opens (evidence: `frontend/src/pages/ProjectPage.jsx`)
- Task creation → Task data hooks: creates task (evidence: `frontend/src/components/tasks/TaskCreateModal.jsx`)
- Command search → REST client: searches (evidence: `frontend/src/components/layout/CommandBar.jsx`)
- Task data hooks → REST client: requests data (evidence: `frontend/src/hooks/useTasks.js`)
- REST client → Go API: sends /api requests (evidence: `README.md`)
- Go API → Postgres: reads and writes (evidence: `README.md`)
- Database schema → Postgres: defines schema
- Example data → Postgres: loads example data (evidence: `README.md`)
