How gitkrishanu/devboard works
DevBoard is a project-and-task dashboard: users view workspace progress, open a project, browse tasks in a board or list, create tasks, move tasks between statuses, and search. React data hooks call the Go API through the documented /api gateway; the backend reads and writes Postgres. The README also documents project creation and a health endpoint. Edges reflect excerpted imports/calls or README wiring; backend internals beyond the sampled evidence are represented at the API boundary.
Main entry points: useTasks.js Task data hooks · ProjectPage.jsx Project workspace · App.jsx App routing · Topbar.jsx Topbar
Components 20
Dashboard frontend
- React entry
frontend/src/main.jsx - App routing
frontend/src/App.jsx - App shell
frontend/src/components/layout/AppShell.jsx - Sidebar
frontend/src/components/layout/Sidebar.jsx - Topbar
frontend/src/components/layout/Topbar.jsx - Task search
frontend/src/components/layout/CommandBar.jsx - Profile menu
frontend/src/components/layout/ProfileMenu.jsx - Theme toggle
frontend/src/components/layout/ThemeToggle.jsx - Dashboard
frontend/src/pages/DashboardPage.jsx
Task workflow UI
- Project workspace
frontend/src/pages/ProjectPage.jsx - Task data hooks
frontend/src/hooks/useTasks.js - Fetch API client
frontend/src/api/client.js - Kanban board
frontend/src/components/tasks/KanbanBoard.jsx - Task list
frontend/src/components/tasks/TaskList.jsx - Task card
frontend/src/components/tasks/TaskCard.jsx - Task creation
frontend/src/components/tasks/TaskCreateModal.jsx
API and data
- Go REST API
backend/main.go
Postgres storage
- Postgres database
init/postgres/01_schema.sql - Example seed data
init/postgres/02_seed.sql
Other components
- Workspace user
Connections 25
- Workspace user → React entry: opens dashboard
README.md - React entry → App routing: renders
frontend/src/main.jsx - App routing → App shell: routes through
frontend/src/App.jsx - App routing → Dashboard: routes to
frontend/src/App.jsx - App routing → Project workspace: routes to
frontend/src/App.jsx - App shell → Sidebar: renders
frontend/src/components/layout/AppShell.jsx - App shell → Topbar: renders
frontend/src/components/layout/AppShell.jsx - Topbar → Task search: renders
frontend/src/components/layout/Topbar.jsx - Topbar → Profile menu: renders
frontend/src/components/layout/Topbar.jsx - Topbar → Theme toggle: renders
frontend/src/components/layout/Topbar.jsx - Sidebar → Task data hooks: reads task data
frontend/src/components/layout/Sidebar.jsx - Dashboard → Task data hooks: loads projects and tasks
frontend/src/pages/DashboardPage.jsx - Project workspace → Task data hooks: loads project tasks
frontend/src/pages/ProjectPage.jsx - Project workspace → Kanban board: renders board
frontend/src/pages/ProjectPage.jsx - Project workspace → Task list: renders list
frontend/src/pages/ProjectPage.jsx - Project workspace → Task creation: renders creation form
frontend/src/pages/ProjectPage.jsx - Kanban board → Task card: renders cards
frontend/src/components/tasks/KanbanBoard.jsx - Kanban board → Task data hooks: updates task status
frontend/src/components/tasks/KanbanBoard.jsx - Task list → Task card: renders cards
frontend/src/components/tasks/TaskList.jsx - Task creation → Task data hooks: creates task
frontend/src/components/tasks/TaskCreateModal.jsx - Task data hooks → Fetch API client: calls API
frontend/src/hooks/useTasks.js - Task search → Fetch API client: searches tasks
frontend/src/components/layout/CommandBar.jsx - Fetch API client → Go REST API: sends /api requests
README.md - Go REST API → Postgres database: reads and writes
README.md - Example seed data → Postgres database: initializes examples
README.md