# ishiniayodyapiumandhi/teamtaskboard architecture

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

- Interactive diagram: https://gitdiagram.com/ishiniayodyapiumandhi/teamtaskboard
- Repository: https://github.com/ishiniayodyapiumandhi/teamtaskboard

## Overview

Team Task Board is a React and ASP.NET Core application for authenticated project and Kanban task management, with overdue reporting and realtime task comments. The main flow is sign-in, project selection or creation, task listing/filtering and mutation, then optional comment access and discussion. The API validates Firebase tokens, routes requests through controllers and services, and persists structured workspace data in MySQL; comments use Firestore. The graph follows documented capabilities where source was not sampled; arrows are limited to evidenced calls or README-described interactions.

Main entry points: [`frontend/src/Board.jsx`](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/Board.jsx) (Kanban board), [`frontend/src/main.jsx`](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/main.jsx) (App and routes), [`backend/Program.cs`](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Program.cs) (API host and auth), [`frontend/src/Comments.jsx`](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/Comments.jsx) (Comment view and posting)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web client"]
  node_webapp["App and routes<br/>[main.jsx]"]
  node_authsdk["Firebase auth client<br/>[firebase.js]"]
  node_projectview["Project overview<br/>[main.jsx]"]
  node_board["Kanban board<br/>[Board.jsx]"]
  node_taskrules["Task form rules<br/>[tasks.js]"]
  node_resource["Resource loading<br/>[useResource.js]"]
  node_api_client["API client<br/>[api.js]"]
  node_ui["Shared UI<br/>[ui.jsx]"]
end

subgraph group_api["API and domain"]
  node_projects_ctrl["Project endpoints"]
  node_tasks_ctrl["Task and report endpoints<br/>[TasksController.cs]"]
  node_comment_ctrl["Comment access endpoint"]
  node_project_service["Project ownership<br/>[ProjectService.cs]"]
  node_task_service["Task operations<br/>[TaskService.cs]"]
  node_dtos["Request and response DTOs"]
  node_api_host["API host and auth<br/>[Program.cs]"]
  node_weather["Weather sample endpoint"]
  node_weather_model["Weather sample model<br/>[WeatherForecast.cs]"]
end

subgraph group_state["Persistence and identity"]
  node_dbcontext["EF data model"]
  node_mysql[("MySQL workspace data<br/>[schema.sql]")]
end

subgraph group_discussion["Realtime comments"]
  node_firestore_rules["Comment access rules<br/>[firestore.rules]"]
  node_comments["Comment view and posting<br/>[Comments.jsx]"]
  node_subscription["Comment subscription"]
  node_firestore_client["Firestore client<br/>[firebase.js]"]
  node_firestore[("Cloud Firestore")]
end

node_member(("Workspace member"))

node_member -->|"uses"| node_webapp
node_webapp -->|"signs in"| node_authsdk
node_webapp -->|"renders"| node_projectview
node_webapp -->|"routes to"| node_board
node_projectview -->|"loads data"| node_resource
node_board -->|"loads data"| node_resource
node_board -->|"validates task"| node_taskrules
node_board -->|"renders"| node_comments
node_board -->|"renders"| node_ui
node_projectview -->|"renders"| node_ui
node_resource -->|"requests"| node_api_client
node_projectview -->|"creates project"| node_api_client
node_board -->|"mutates tasks"| node_api_client
node_api_client -->|"HTTP requests"| node_api_host
node_api_host -->|"maps controllers"| node_projects_ctrl
node_api_host -->|"maps controllers"| node_tasks_ctrl
node_projects_ctrl -->|"dispatches"| node_project_service
node_tasks_ctrl -->|"dispatches"| node_task_service
node_comment_ctrl -->|"checks ownership"| node_task_service
node_project_service -->|"queries and writes"| node_dbcontext
node_task_service -->|"queries and writes"| node_dbcontext
node_api_host -->|"configures"| node_dbcontext
node_dbcontext -->|"persists"| node_mysql
node_project_service -->|"returns project data"| node_dtos
node_task_service -->|"uses task data"| node_dtos
node_webapp -->|"opens task discussion"| node_comments
node_comments -->|"starts and stops"| node_subscription
node_comments -->|"reads and posts"| node_firestore_client
node_comments -->|"requests grant"| node_comment_ctrl
node_firestore_client -->|"streams and writes"| node_firestore
node_api_host -->|"configures access"| node_firestore
node_firestore_rules -->|"restricts access"| node_firestore
node_tasks_ctrl -->|"reports overdue"| node_task_service
node_weather -->|"returns forecasts"| node_weather_model

click node_webapp "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/main.jsx"
click node_authsdk "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/firebase.js"
click node_projectview "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/main.jsx"
click node_board "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/Board.jsx"
click node_taskrules "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/tasks.js"
click node_resource "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/useResource.js"
click node_api_client "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/api.js"
click node_ui "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/ui.jsx"
click node_projects_ctrl "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/ProjectsController.cs"
click node_tasks_ctrl "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/TasksController.cs"
click node_comment_ctrl "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/CommentAccessController.cs"
click node_project_service "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Services/ProjectService.cs"
click node_task_service "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Services/TaskService.cs"
click node_dtos "https://github.com/ishiniayodyapiumandhi/teamtaskboard/tree/main/backend/Dtos"
click node_api_host "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Program.cs"
click node_dbcontext "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Data/TaskBoardDbContext.cs"
click node_mysql "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/database/schema.sql"
click node_firestore_rules "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/firestore.rules"
click node_comments "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/Comments.jsx"
click node_subscription "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/commentSubscription.js"
click node_firestore_client "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/firebase.js"
click node_weather "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/WeatherForecastController.cs"
click node_weather_model "https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/WeatherForecast.cs"

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_webapp,node_authsdk,node_projectview,node_board,node_taskrules,node_resource,node_api_client,node_ui toneBlue
class node_projects_ctrl,node_tasks_ctrl,node_comment_ctrl,node_project_service,node_task_service,node_dtos,node_api_host,node_weather,node_weather_model toneAmber
class node_dbcontext,node_mysql toneMint
class node_firestore_rules,node_comments,node_subscription,node_firestore_client,node_firestore toneRose
class node_member toneIndigo
```

## Components

### Web client

- [App and routes](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`
- [Firebase auth client](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/firebase.js): `frontend/src/firebase.js`
- [Project overview](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`
- [Kanban board](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/Board.jsx): `frontend/src/Board.jsx`
- [Task form rules](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/tasks.js): `frontend/src/tasks.js`
- [Resource loading](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/useResource.js): `frontend/src/useResource.js`
- [API client](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/api.js): `frontend/src/api.js`
- [Shared UI](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/ui.jsx): `frontend/src/ui.jsx`

### API and domain

- [Project endpoints](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/ProjectsController.cs): `backend/Controllers/ProjectsController.cs`
- [Task and report endpoints](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/TasksController.cs): `backend/Controllers/TasksController.cs`
- [Comment access endpoint](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/CommentAccessController.cs): `backend/Controllers/CommentAccessController.cs`
- [Project ownership](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Services/ProjectService.cs): `backend/Services/ProjectService.cs`
- [Task operations](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Services/TaskService.cs): `backend/Services/TaskService.cs`
- [Request and response DTOs](https://github.com/ishiniayodyapiumandhi/teamtaskboard/tree/main/backend/Dtos): `backend/Dtos`
- [API host and auth](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Program.cs): `backend/Program.cs`
- [Weather sample endpoint](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Controllers/WeatherForecastController.cs): `backend/Controllers/WeatherForecastController.cs`
- [Weather sample model](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/WeatherForecast.cs): `backend/WeatherForecast.cs`

### Persistence and identity

- [EF data model](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/backend/Data/TaskBoardDbContext.cs): `backend/Data/TaskBoardDbContext.cs`
- [MySQL workspace data](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/database/schema.sql): `database/schema.sql`

### Realtime comments

- [Comment access rules](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/firestore.rules): `firestore.rules`
- [Comment view and posting](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/Comments.jsx): `frontend/src/Comments.jsx`
- [Comment subscription](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/commentSubscription.js): `frontend/src/commentSubscription.js`
- [Firestore client](https://github.com/ishiniayodyapiumandhi/teamtaskboard/blob/main/frontend/src/firebase.js): `frontend/src/firebase.js`
- **Cloud Firestore**

### Other components

- **Workspace member**

## Connections

- Workspace member → App and routes: uses (evidence: `README.md`)
- App and routes → Firebase auth client: signs in (evidence: `frontend/src/main.jsx`)
- App and routes → Project overview: renders (evidence: `frontend/src/main.jsx`)
- App and routes → Kanban board: routes to (evidence: `frontend/src/main.jsx`)
- Project overview → Resource loading: loads data (evidence: `frontend/src/main.jsx`)
- Kanban board → Resource loading: loads data (evidence: `frontend/src/Board.jsx`)
- Kanban board → Task form rules: validates task (evidence: `frontend/src/Board.jsx`)
- Kanban board → Comment view and posting: renders (evidence: `frontend/src/Board.jsx`)
- Kanban board → Shared UI: renders (evidence: `frontend/src/Board.jsx`)
- Project overview → Shared UI: renders (evidence: `frontend/src/main.jsx`)
- Resource loading → API client: requests (evidence: `frontend/src/useResource.js`)
- Project overview → API client: creates project (evidence: `frontend/src/main.jsx`)
- Kanban board → API client: mutates tasks (evidence: `frontend/src/Board.jsx`)
- API client → API host and auth: HTTP requests (evidence: `README.md`)
- API host and auth → Project endpoints: maps controllers (evidence: `backend/Program.cs`)
- API host and auth → Task and report endpoints: maps controllers (evidence: `backend/Program.cs`)
- Project endpoints → Project ownership: dispatches (evidence: `backend/Controllers/ProjectsController.cs`)
- Task and report endpoints → Task operations: dispatches (evidence: `backend/Controllers/TasksController.cs`)
- Comment access endpoint → Task operations: checks ownership (evidence: `backend/Controllers/CommentAccessController.cs`)
- Project ownership → EF data model: queries and writes (evidence: `backend/Services/ProjectService.cs`)
- Task operations → EF data model: queries and writes (evidence: `backend/Services/TaskService.cs`)
- API host and auth → EF data model: configures (evidence: `backend/Program.cs`)
- EF data model → MySQL workspace data: persists (evidence: `README.md`)
- Project ownership → Request and response DTOs: returns project data (evidence: `backend/Services/ProjectService.cs`)
- Task operations → Request and response DTOs: uses task data (evidence: `backend/Services/TaskService.cs`)
- App and routes → Comment view and posting: opens task discussion
- Comment view and posting → Comment subscription: starts and stops (evidence: `frontend/src/Comments.jsx`)
- Comment view and posting → Firestore client: reads and posts (evidence: `frontend/src/Comments.jsx`)
- Comment view and posting → Comment access endpoint: requests grant (evidence: `frontend/src/Comments.jsx`)
- Firestore client → Cloud Firestore: streams and writes (evidence: `README.md`)
- API host and auth → Cloud Firestore: configures access (evidence: `backend/Program.cs`)
- Comment access rules → Cloud Firestore: restricts access (evidence: `README.md`)
- Task and report endpoints → Task operations: reports overdue (evidence: `backend/Controllers/TasksController.cs`)
- Weather sample endpoint → Weather sample model: returns forecasts (evidence: `backend/Controllers/WeatherForecastController.cs`)
