# sumanth015/cboard architecture

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

- Interactive diagram: https://gitdiagram.com/sumanth015/cboard
- Repository: https://github.com/sumanth015/cboard

## Overview

Cboard is a browser-based AAC communication application. Users enter a board, find or select pictograms, build a message, and have it spoken through text-to-speech; accounts, board management, and settings support that central workflow. The graph also preserves documented localization, analytics, access-sharing, offline, and subscription capabilities. Some relationships are based on README documentation because those feature implementations were not sampled; the edges reflect only documented or excerpted connections.

Main entry points: [`src/components/App/App.component.js`](https://github.com/sumanth015/cboard/blob/master/src/components/App/App.component.js) (App routing), [`src/api/api.js`](https://github.com/sumanth015/cboard/blob/master/src/api/api.js) (Board and symbol API), [`src/index.js`](https://github.com/sumanth015/cboard/blob/master/src/index.js) (Application entry), [`src/components/Board/Board.component.js`](https://github.com/sumanth015/cboard/blob/master/src/components/Board/Board.component.js) (Board workspace)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_entry["Application entry<br/>[index.js]"]
  node_router["App routing<br/>[App.component.js]"]
  node_appstate["App state and startup<br/>[App.container.js]"]
end

subgraph group_communication["Communication boards"]
  node_boards["Board workspace<br/>[Board.component.js]"]
  node_boardactions["Board operations<br/>[Board.actions.js]"]
  node_symbols["Symbol search"]
  node_phrase["Phrase output"]
  node_boardapi["Board and symbol API<br/>[api.js]"]
end

subgraph group_speech["Speech output"]
  node_speechprovider["Speech provider"]
  node_tts["Speech engine<br/>[tts.js]"]
end

subgraph group_identity["Accounts and access"]
  node_login["Login and signup<br/>[Login.actions.js]"]
  node_access["Shared-board access<br/>[AccessViewer.js]"]
end

subgraph group_support["Settings and services"]
  node_settings["Settings"]
  node_language["Language provider"]
  node_analytics["Usage analytics"]
  node_subscriptions["Subscriptions"]
  node_offline["Offline support"]
end

node_user(("AAC user"))
node_browservoice["Browser speech synthesis"]
node_api_service["Cboard API service"]

node_user -->|"opens app"| node_entry
node_entry -->|"mounts"| node_router
node_router -->|"routes to"| node_boards
node_user -->|"searches symbols"| node_symbols
node_symbols -->|"requests symbols"| node_boardapi
node_user -->|"selects symbols"| node_boards
node_boards -.->|"builds message"| node_phrase
node_user -->|"activates symbol"| node_phrase
node_phrase -.->|"requests speech"| node_speechprovider
node_speechprovider -->|"delegates speech"| node_tts
node_tts -->|"uses synthesis"| node_browservoice
node_appstate -->|"loads board data"| node_boardactions
node_boardactions -.->|"fetches board data"| node_boardapi
node_login -->|"uses API"| node_boardapi
node_access -.->|"presents shared board"| node_user
node_router -->|"routes to"| node_access
node_router -->|"routes to"| node_settings
node_entry -->|"provides language"| node_language
node_router -->|"routes to"| node_analytics
node_entry -->|"provides subscription context"| node_subscriptions
node_appstate -->|"registers service worker"| node_offline
node_boardapi -.->|"calls"| node_api_service
node_subscriptions -->|"requests subscription data"| node_boardapi

click node_entry "https://github.com/sumanth015/cboard/blob/master/src/index.js"
click node_router "https://github.com/sumanth015/cboard/blob/master/src/components/App/App.component.js"
click node_appstate "https://github.com/sumanth015/cboard/blob/master/src/components/App/App.container.js"
click node_boards "https://github.com/sumanth015/cboard/blob/master/src/components/Board/Board.component.js"
click node_boardactions "https://github.com/sumanth015/cboard/blob/master/src/components/Board/Board.actions.js"
click node_symbols "https://github.com/sumanth015/cboard/blob/master/src/components/Board/SymbolSearch/SymbolSearch.component.js"
click node_phrase "https://github.com/sumanth015/cboard/blob/master/src/components/Board/Output/Output.container.js"
click node_boardapi "https://github.com/sumanth015/cboard/blob/master/src/api/api.js"
click node_speechprovider "https://github.com/sumanth015/cboard/blob/master/src/providers/SpeechProvider/SpeechProvider.actions.js"
click node_tts "https://github.com/sumanth015/cboard/blob/master/src/providers/SpeechProvider/tts.js"
click node_login "https://github.com/sumanth015/cboard/blob/master/src/components/Account/Login/Login.actions.js"
click node_access "https://github.com/sumanth015/cboard/blob/master/src/components/AccessViewer/AccessViewer.js"
click node_settings "https://github.com/sumanth015/cboard/blob/master/src/components/Settings/Settings.component.js"
click node_language "https://github.com/sumanth015/cboard/blob/master/src/providers/LanguageProvider/LanguageProvider.container.js"
click node_analytics "https://github.com/sumanth015/cboard/blob/master/src/components/Analytics/Analytics.container.js"
click node_subscriptions "https://github.com/sumanth015/cboard/blob/master/src/providers/SubscriptionProvider/SubscriptionProvider.actions.js"
click node_offline "https://github.com/sumanth015/cboard/blob/master/src/registerServiceWorker.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_entry,node_router,node_appstate,node_user,node_browservoice toneBlue
class node_boards,node_boardactions,node_symbols,node_phrase,node_boardapi toneAmber
class node_speechprovider,node_tts,node_api_service toneMint
class node_login,node_access toneRose
class node_settings,node_language,node_analytics,node_subscriptions,node_offline toneIndigo
```

## Components

### Application shell

- [Application entry](https://github.com/sumanth015/cboard/blob/master/src/index.js): `src/index.js`
- [App routing](https://github.com/sumanth015/cboard/blob/master/src/components/App/App.component.js): `src/components/App/App.component.js`
- [App state and startup](https://github.com/sumanth015/cboard/blob/master/src/components/App/App.container.js): `src/components/App/App.container.js`

### Communication boards

- [Board workspace](https://github.com/sumanth015/cboard/blob/master/src/components/Board/Board.component.js): `src/components/Board/Board.component.js`
- [Board operations](https://github.com/sumanth015/cboard/blob/master/src/components/Board/Board.actions.js): `src/components/Board/Board.actions.js`
- [Symbol search](https://github.com/sumanth015/cboard/blob/master/src/components/Board/SymbolSearch/SymbolSearch.component.js): `src/components/Board/SymbolSearch/SymbolSearch.component.js`
- [Phrase output](https://github.com/sumanth015/cboard/blob/master/src/components/Board/Output/Output.container.js): `src/components/Board/Output/Output.container.js`
- [Board and symbol API](https://github.com/sumanth015/cboard/blob/master/src/api/api.js): `src/api/api.js`

### Speech output

- [Speech provider](https://github.com/sumanth015/cboard/blob/master/src/providers/SpeechProvider/SpeechProvider.actions.js): `src/providers/SpeechProvider/SpeechProvider.actions.js`
- [Speech engine](https://github.com/sumanth015/cboard/blob/master/src/providers/SpeechProvider/tts.js): `src/providers/SpeechProvider/tts.js`

### Accounts and access

- [Login and signup](https://github.com/sumanth015/cboard/blob/master/src/components/Account/Login/Login.actions.js): `src/components/Account/Login/Login.actions.js`
- [Shared-board access](https://github.com/sumanth015/cboard/blob/master/src/components/AccessViewer/AccessViewer.js): `src/components/AccessViewer/AccessViewer.js`

### Settings and services

- [Settings](https://github.com/sumanth015/cboard/blob/master/src/components/Settings/Settings.component.js): `src/components/Settings/Settings.component.js`
- [Language provider](https://github.com/sumanth015/cboard/blob/master/src/providers/LanguageProvider/LanguageProvider.container.js): `src/providers/LanguageProvider/LanguageProvider.container.js`
- [Usage analytics](https://github.com/sumanth015/cboard/blob/master/src/components/Analytics/Analytics.container.js): `src/components/Analytics/Analytics.container.js`
- [Subscriptions](https://github.com/sumanth015/cboard/blob/master/src/providers/SubscriptionProvider/SubscriptionProvider.actions.js): `src/providers/SubscriptionProvider/SubscriptionProvider.actions.js`
- [Offline support](https://github.com/sumanth015/cboard/blob/master/src/registerServiceWorker.js): `src/registerServiceWorker.js`

### Other components

- **AAC user**
- **Browser speech synthesis**
- **Cboard API service**

## Connections

- AAC user → Application entry: opens app (evidence: `README.md`)
- Application entry → App routing: mounts (evidence: `src/index.js`)
- App routing → Board workspace: routes to (evidence: `src/components/App/App.component.js`)
- AAC user → Symbol search: searches symbols (evidence: `README.md`)
- Symbol search → Board and symbol API: requests symbols (evidence: `src/components/Board/SymbolSearch/SymbolSearch.component.js`)
- AAC user → Board workspace: selects symbols (evidence: `README.md`)
- Board workspace → Phrase output: builds message
- AAC user → Phrase output: activates symbol (evidence: `README.md`)
- Phrase output → Speech provider: requests speech
- Speech provider → Speech engine: delegates speech (evidence: `src/components/App/App.actions.js`)
- Speech engine → Browser speech synthesis: uses synthesis (evidence: `README.md`)
- App state and startup → Board operations: loads board data (evidence: `src/components/App/App.container.js`)
- Board operations → Board and symbol API: fetches board data
- Login and signup → Board and symbol API: uses API (evidence: `src/components/Account/Login/Login.actions.js`)
- Shared-board access → AAC user: presents shared board
- App routing → Shared-board access: routes to (evidence: `src/components/App/App.component.js`)
- App routing → Settings: routes to (evidence: `src/components/App/App.component.js`)
- Application entry → Language provider: provides language (evidence: `src/index.js`)
- App routing → Usage analytics: routes to (evidence: `src/components/App/App.component.js`)
- Application entry → Subscriptions: provides subscription context (evidence: `src/index.js`)
- App state and startup → Offline support: registers service worker (evidence: `src/components/App/App.container.js`)
- Board and symbol API → Cboard API service: calls
- Subscriptions → Board and symbol API: requests subscription data (evidence: `src/providers/SubscriptionProvider/SubscriptionProvider.actions.js`)
