# potphodesd1997-arch/devboard-cicd architecture

> Architecture diagram of the GitHub repository potphodesd1997-arch/devboard-cicd, 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/potphodesd1997-arch/devboard-cicd
- Repository: https://github.com/potphodesd1997-arch/devboard-cicd

## Overview

DevBoard is a project-and-task dashboard with a React UI, Go REST API, and PostgreSQL storage. The main workflow is to open a project, view tasks, create tasks or change their status, and see refreshed results; users can also search tasks. The README documents the frontend-to-API-to-database wiring and API capabilities. Backend and page implementations were not sampled, so their internal calls are not expanded beyond documented relationships.

Main entry points: [`frontend/src/App.jsx`](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/App.jsx) (Route entry), [`frontend/src/api/client.js`](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/api/client.js) (HTTP client), [`frontend/src/hooks/useTasks.js`](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/hooks/useTasks.js) (Task data hooks), [`frontend/src/components/tasks/KanbanBoard.jsx`](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/KanbanBoard.jsx) (Kanban board)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_app["Route entry<br/>[App.jsx]"]
  node_shell["Application shell<br/>[AppShell.jsx]"]
  node_client["HTTP client<br/>[client.js]"]
end

subgraph group_work["Project and task workflow"]
  node_dashboard["Dashboard<br/>[DashboardPage.jsx]"]
  node_project["Project view<br/>[ProjectPage.jsx]"]
  node_taskboard["Kanban board<br/>[KanbanBoard.jsx]"]
  node_taskcard["Task card<br/>[TaskCard.jsx]"]
  node_taskcreate["Task creation"]
  node_search["Task search<br/>[CommandBar.jsx]"]
  node_taskdata["Task data hooks<br/>[useTasks.js]"]
end

subgraph group_service["API and persistence"]
  node_backend["Go API<br/>[main.go]"]
  node_postgres[("PostgreSQL<br/>[01_schema.sql]")]
end

node_browser(("Browser user"))

node_browser -->|"opens dashboard"| node_app
node_app -->|"wraps routes"| node_shell
node_app -->|"routes to"| node_dashboard
node_app -->|"routes to"| node_project
node_taskboard -->|"renders"| node_taskcard
node_taskboard -->|"updates through"| node_taskdata
node_taskcreate -->|"creates through"| node_taskdata
node_search -->|"searches via"| node_client
node_taskdata -->|"requests data"| node_client
node_client -->|"forwards API calls"| node_backend
node_backend -->|"reads and writes"| node_postgres

click node_app "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/App.jsx"
click node_shell "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/layout/AppShell.jsx"
click node_dashboard "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/pages/DashboardPage.jsx"
click node_project "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/pages/ProjectPage.jsx"
click node_taskboard "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/KanbanBoard.jsx"
click node_taskcard "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/TaskCard.jsx"
click node_taskcreate "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/TaskCreateModal.jsx"
click node_search "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/layout/CommandBar.jsx"
click node_taskdata "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/hooks/useTasks.js"
click node_client "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/api/client.js"
click node_backend "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/backend/main.go"
click node_postgres "https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/init/postgres/01_schema.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,node_shell,node_client,node_browser toneBlue
class node_dashboard,node_project,node_taskboard,node_taskcard,node_taskcreate,node_search,node_taskdata toneAmber
class node_backend,node_postgres toneMint
```

## Components

### Web application

- [Route entry](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Application shell](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/layout/AppShell.jsx): `frontend/src/components/layout/AppShell.jsx`
- [HTTP client](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/api/client.js): `frontend/src/api/client.js`

### Project and task workflow

- [Dashboard](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/pages/DashboardPage.jsx): `frontend/src/pages/DashboardPage.jsx`
- [Project view](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/pages/ProjectPage.jsx): `frontend/src/pages/ProjectPage.jsx`
- [Kanban board](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/KanbanBoard.jsx): `frontend/src/components/tasks/KanbanBoard.jsx`
- [Task card](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/TaskCard.jsx): `frontend/src/components/tasks/TaskCard.jsx`
- [Task creation](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/tasks/TaskCreateModal.jsx): `frontend/src/components/tasks/TaskCreateModal.jsx`
- [Task search](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/components/layout/CommandBar.jsx): `frontend/src/components/layout/CommandBar.jsx`
- [Task data hooks](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/frontend/src/hooks/useTasks.js): `frontend/src/hooks/useTasks.js`

### API and persistence

- [Go API](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/backend/main.go): `backend/main.go`
- [PostgreSQL](https://github.com/potphodesd1997-arch/devboard-cicd/blob/main/init/postgres/01_schema.sql): `init/postgres/01_schema.sql`

### Other components

- **Browser user**

## Connections

- Browser user → Route entry: opens dashboard (evidence: `README.md`)
- Route entry → Application shell: wraps routes (evidence: `frontend/src/App.jsx`)
- Route entry → Dashboard: routes to (evidence: `frontend/src/App.jsx`)
- Route entry → Project view: routes to (evidence: `frontend/src/App.jsx`)
- Kanban board → Task card: renders (evidence: `frontend/src/components/tasks/KanbanBoard.jsx`)
- Kanban board → Task data hooks: updates through (evidence: `frontend/src/components/tasks/KanbanBoard.jsx`)
- Task creation → Task data hooks: creates through (evidence: `frontend/src/components/tasks/TaskCreateModal.jsx`)
- Task search → HTTP client: searches via (evidence: `frontend/src/components/layout/CommandBar.jsx`)
- Task data hooks → HTTP client: requests data (evidence: `frontend/src/hooks/useTasks.js`)
- HTTP client → Go API: forwards API calls (evidence: `README.md`)
- Go API → PostgreSQL: reads and writes (evidence: `README.md`)
