# ramesha06/syncboard-client architecture

> Architecture diagram of the GitHub repository ramesha06/syncboard-client, 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/ramesha06/syncboard-client
- Repository: https://github.com/ramesha06/syncboard-client

## Overview

SyncBoard is a full-stack Kanban task-management application: users register or sign in, access a board, and manage tasks through a React client backed by an Express API and MongoDB. The graph shows the documented board, task, authentication, issue, timeline, settings, and health capabilities. Some client and server subsystem links rely on the README or SOURCE INDEX; unsampled implementation details are not expanded into unsupported call chains.

Main entry points: [`syncboard-client/src/App.jsx`](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/App.jsx) (App routing), [`syncboard-server/app.js`](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/app.js) (Express API), [`syncboard-server/src/repositories/boardRepository.js`](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/boardRepository.js) (Board repository), [`syncboard-server/src/services/authService.js`](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/services/authService.js) (Auth service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["React client"]
  node_app["App routing<br/>[App.jsx]"]
  node_settings["Settings<br/>[SettingsPage.jsx]"]
end

subgraph group_identity["Identity"]
  node_login["Login and register<br/>[LoginPage.jsx]"]
  node_authctx["Auth state<br/>[AuthContext.jsx]"]
  node_authclient["Auth API client<br/>[authApi.js]"]
  node_authroutes["Auth routes<br/>[authRoutes.js]"]
  node_authcontroller["Auth controller<br/>[authController.js]"]
  node_authservice["Auth service<br/>[authService.js]"]
end

subgraph group_api["REST API"]
  node_server["Express API<br/>[app.js]"]
  node_boardroutes["Board routes<br/>[boardRoutes.js]"]
  node_taskroutes["Task routes<br/>[taskRoutes.js]"]
  node_health["Health endpoint<br/>[healthRoutes.js]"]
end

subgraph group_domain["Board and task domain"]
  node_boardpage["Kanban board<br/>[BoardPage.jsx]"]
  node_taskdetail["Task details<br/>[TaskDetailPage.jsx]"]
  node_issues["Issue view<br/>[IssuesPage.jsx]"]
  node_timeline["Timeline view<br/>[TimelinePage.jsx]"]
  node_taskstate["Task state<br/>[TaskContext.jsx]"]
  node_taskapi["Task API client<br/>[taskApi.js]"]
  node_boardcontroller["Board controller<br/>[boardController.js]"]
  node_taskcontroller["Task controller<br/>[taskController.js]"]
  node_taskservice["Task service<br/>[taskService.js]"]
end

subgraph group_persistence["Persistence"]
  node_boardrepo["Board repository<br/>[boardRepository.js]"]
  node_taskrepo["Task repository<br/>[taskRepository.js]"]
  node_userrepo["User repository<br/>[userRepository.js]"]
  node_mongodb[("MongoDB Atlas")]
end

node_user(("User"))

node_user -.->|"uses"| node_app
node_app -->|"routes"| node_login
node_app -->|"routes"| node_boardpage
node_app -->|"routes"| node_taskdetail
node_app -->|"routes"| node_issues
node_app -->|"routes"| node_timeline
node_app -->|"routes"| node_settings
node_login -->|"uses"| node_authctx
node_authctx -->|"calls"| node_authclient
node_app -->|"provides"| node_taskstate
node_taskstate -->|"calls"| node_taskapi
node_taskapi -.->|"requests"| node_server
node_authclient -.->|"requests"| node_server
node_server -->|"mounts"| node_authroutes
node_server -->|"mounts"| node_boardroutes
node_server -->|"mounts"| node_taskroutes
node_server -->|"mounts"| node_health
node_authroutes -->|"dispatches"| node_authcontroller
node_authcontroller -->|"calls"| node_authservice
node_authservice -->|"reads and writes"| node_userrepo
node_authservice -->|"creates workspace"| node_boardrepo
node_boardroutes -->|"dispatches"| node_boardcontroller
node_boardcontroller -->|"calls"| node_boardrepo
node_taskroutes -->|"dispatches"| node_taskcontroller
node_taskcontroller -->|"calls"| node_taskservice
node_taskcontroller -->|"reads user"| node_userrepo
node_taskservice -->|"calls"| node_taskrepo
node_taskservice -->|"checks board"| node_boardrepo
node_boardrepo -.->|"persists"| node_mongodb
node_taskrepo -.->|"persists"| node_mongodb
node_userrepo -.->|"persists"| node_mongodb

click node_app "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/App.jsx"
click node_login "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/LoginPage.jsx"
click node_authctx "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/context/AuthContext.jsx"
click node_authclient "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/api/authApi.js"
click node_boardpage "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/BoardPage.jsx"
click node_taskdetail "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/TaskDetailPage.jsx"
click node_issues "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/IssuesPage.jsx"
click node_timeline "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/TimelinePage.jsx"
click node_settings "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/SettingsPage.jsx"
click node_taskstate "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/context/TaskContext.jsx"
click node_taskapi "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/api/taskApi.js"
click node_server "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/app.js"
click node_authroutes "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/authRoutes.js"
click node_authcontroller "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/controllers/authController.js"
click node_authservice "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/services/authService.js"
click node_boardroutes "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/boardRoutes.js"
click node_boardcontroller "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/controllers/boardController.js"
click node_taskroutes "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/taskRoutes.js"
click node_taskcontroller "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/controllers/taskController.js"
click node_taskservice "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/services/taskService.js"
click node_boardrepo "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/boardRepository.js"
click node_taskrepo "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/taskRepository.js"
click node_userrepo "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/userRepository.js"
click node_health "https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/healthRoutes.js"

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_settings,node_user toneBlue
class node_login,node_authctx,node_authclient,node_authroutes,node_authcontroller,node_authservice toneAmber
class node_server,node_boardroutes,node_taskroutes,node_health toneMint
class node_boardpage,node_taskdetail,node_issues,node_timeline,node_taskstate,node_taskapi,node_boardcontroller,node_taskcontroller,node_taskservice toneRose
class node_boardrepo,node_taskrepo,node_userrepo,node_mongodb toneIndigo
```

## Components

### React client

- [App routing](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/App.jsx): `syncboard-client/src/App.jsx`
- [Settings](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/SettingsPage.jsx): `syncboard-client/src/pages/SettingsPage.jsx`

### Identity

- [Login and register](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/LoginPage.jsx): `syncboard-client/src/pages/LoginPage.jsx`
- [Auth state](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/context/AuthContext.jsx): `syncboard-client/src/context/AuthContext.jsx`
- [Auth API client](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/api/authApi.js): `syncboard-client/src/api/authApi.js`
- [Auth routes](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/authRoutes.js): `syncboard-server/src/routes/authRoutes.js`
- [Auth controller](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/controllers/authController.js): `syncboard-server/src/controllers/authController.js`
- [Auth service](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/services/authService.js): `syncboard-server/src/services/authService.js`

### REST API

- [Express API](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/app.js): `syncboard-server/app.js`
- [Board routes](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/boardRoutes.js): `syncboard-server/src/routes/boardRoutes.js`
- [Task routes](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/taskRoutes.js): `syncboard-server/src/routes/taskRoutes.js`
- [Health endpoint](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/routes/healthRoutes.js): `syncboard-server/src/routes/healthRoutes.js`

### Board and task domain

- [Kanban board](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/BoardPage.jsx): `syncboard-client/src/pages/BoardPage.jsx`
- [Task details](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/TaskDetailPage.jsx): `syncboard-client/src/pages/TaskDetailPage.jsx`
- [Issue view](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/IssuesPage.jsx): `syncboard-client/src/pages/IssuesPage.jsx`
- [Timeline view](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/pages/TimelinePage.jsx): `syncboard-client/src/pages/TimelinePage.jsx`
- [Task state](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/context/TaskContext.jsx): `syncboard-client/src/context/TaskContext.jsx`
- [Task API client](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-client/src/api/taskApi.js): `syncboard-client/src/api/taskApi.js`
- [Board controller](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/controllers/boardController.js): `syncboard-server/src/controllers/boardController.js`
- [Task controller](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/controllers/taskController.js): `syncboard-server/src/controllers/taskController.js`
- [Task service](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/services/taskService.js): `syncboard-server/src/services/taskService.js`

### Persistence

- [Board repository](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/boardRepository.js): `syncboard-server/src/repositories/boardRepository.js`
- [Task repository](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/taskRepository.js): `syncboard-server/src/repositories/taskRepository.js`
- [User repository](https://github.com/ramesha06/syncboard-client/blob/main/syncboard-server/src/repositories/userRepository.js): `syncboard-server/src/repositories/userRepository.js`
- **MongoDB Atlas**

### Other components

- **User**

## Connections

- User → App routing: uses
- App routing → Login and register: routes (evidence: `syncboard-client/src/App.jsx`)
- App routing → Kanban board: routes (evidence: `syncboard-client/src/App.jsx`)
- App routing → Task details: routes (evidence: `syncboard-client/src/App.jsx`)
- App routing → Issue view: routes (evidence: `syncboard-client/src/App.jsx`)
- App routing → Timeline view: routes (evidence: `syncboard-client/src/App.jsx`)
- App routing → Settings: routes (evidence: `syncboard-client/src/App.jsx`)
- Login and register → Auth state: uses (evidence: `syncboard-client/src/pages/LoginPage.jsx`)
- Auth state → Auth API client: calls (evidence: `syncboard-client/src/context/AuthContext.jsx`)
- App routing → Task state: provides (evidence: `syncboard-client/src/App.jsx`)
- Task state → Task API client: calls (evidence: `syncboard-client/src/context/TaskContext.jsx`)
- Task API client → Express API: requests
- Auth API client → Express API: requests
- Express API → Auth routes: mounts (evidence: `syncboard-server/app.js`)
- Express API → Board routes: mounts (evidence: `syncboard-server/app.js`)
- Express API → Task routes: mounts (evidence: `syncboard-server/app.js`)
- Express API → Health endpoint: mounts (evidence: `syncboard-server/app.js`)
- Auth routes → Auth controller: dispatches (evidence: `syncboard-server/src/routes/authRoutes.js`)
- Auth controller → Auth service: calls (evidence: `syncboard-server/src/controllers/authController.js`)
- Auth service → User repository: reads and writes (evidence: `syncboard-server/src/services/authService.js`)
- Auth service → Board repository: creates workspace (evidence: `syncboard-server/src/services/authService.js`)
- Board routes → Board controller: dispatches (evidence: `syncboard-server/src/routes/boardRoutes.js`)
- Board controller → Board repository: calls (evidence: `syncboard-server/src/controllers/boardController.js`)
- Task routes → Task controller: dispatches (evidence: `syncboard-server/src/routes/taskRoutes.js`)
- Task controller → Task service: calls (evidence: `syncboard-server/src/controllers/taskController.js`)
- Task controller → User repository: reads user (evidence: `syncboard-server/src/controllers/taskController.js`)
- Task service → Task repository: calls (evidence: `syncboard-server/src/services/taskService.js`)
- Task service → Board repository: checks board (evidence: `syncboard-server/src/services/taskService.js`)
- Board repository → MongoDB Atlas: persists
- Task repository → MongoDB Atlas: persists
- User repository → MongoDB Atlas: persists
