# astraglus03/synco-fe architecture

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

- Interactive diagram: https://gitdiagram.com/astraglus03/synco-fe
- Repository: https://github.com/astraglus03/synco-fe

## Overview

Synco is a Vue workspace collaboration product for teams and individuals. Users enter through the landing and authentication flow, then navigate workspace channels to work with chat, shared documents, schedules, files, and meetings; search and notifications span those activities. The graph combines sampled routing, store, and API relationships with README-documented capabilities, including integrations whose client implementation was not sampled. Those documented edges describe product behavior, not inspected call sites.

Main entry points: [`src/router/index.js`](https://github.com/astraglus03/synco-fe/blob/develop/src/router/index.js) (App routing), [`src/layouts/MainLayout.vue`](https://github.com/astraglus03/synco-fe/blob/develop/src/layouts/MainLayout.vue) (Workspace layout), [`src/views/MeetingView.vue`](https://github.com/astraglus03/synco-fe/blob/develop/src/views/MeetingView.vue) (Video meetings), [`src/components/auth/AuthModal.vue`](https://github.com/astraglus03/synco-fe/blob/develop/src/components/auth/AuthModal.vue) (Authentication UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and identity"]
  node_landing["Landing page<br/>[LandingPage.vue]"]
  node_router["App routing<br/>[index.js]"]
  node_auth["Authentication UI<br/>[AuthModal.vue]"]
end

subgraph group_workspace["Workspace experience"]
  node_layout["Workspace layout<br/>[MainLayout.vue]"]
  node_workspaceui["Workspace navigation"]
end

subgraph group_collab["Collaboration features"]
  node_chat["Workspace chat<br/>[Chat.vue]"]
  node_editor["Shared documents"]
  node_editorservice["Editor sync"]
  node_schedule["Schedules<br/>[Schedule.vue]"]
  node_drive["Personal and team drive<br/>[ProjectDrive.vue]"]
  node_meeting["Video meetings<br/>[MeetingView.vue]"]
  node_search["Global search<br/>[GlobalSearch.vue]"]
end

subgraph group_state["Client state and APIs"]
  node_authapi["Member API<br/>[auth.js]"]
  node_authstore["Auth state<br/>[authStore.js]"]
  node_workspacestore["Workspace state<br/>[workspaceStore.js]"]
  node_workspaceapi["Workspace API<br/>[workSpaceApi.js]"]
  node_chatapi["Chat API<br/>[chatApi.js]"]
  node_driveapi["Drive API<br/>[driveApi.js]"]
  node_meetingapi["Meeting API<br/>[meetingApi.js]"]
  node_searchapi["Search API<br/>[searchApi.js]"]
  node_notifications["Notification state"]
  node_sse["SSE client<br/>[sseApi.js]"]
end

subgraph group_integrations["External services"]
  node_backend{{"Synco backend"}}
  node_livekit{{"LiveKit"}}
  node_storage[("S3 and CDN")]
  node_searchengine[("Elasticsearch")]
  node_realtime{{"STOMP and Redis"}}
end

node_user(("Member"))

node_user -->|"visits"| node_landing
node_landing -->|"enters"| node_router
node_router -->|"routes to"| node_auth
node_auth -.->|"authenticates"| node_authapi
node_authapi -->|"requests identity"| node_backend
node_auth -.->|"sets session"| node_authstore
node_router -->|"checks access"| node_authstore
node_router -->|"routes workspace"| node_layout
node_layout -.->|"renders navigation"| node_workspaceui
node_workspaceui -->|"selects workspace"| node_workspacestore
node_workspacestore -->|"loads workspaces"| node_workspaceapi
node_workspaceapi -->|"requests workspace"| node_backend
node_router -->|"routes chat"| node_chat
node_chat -->|"loads messages"| node_chatapi
node_chatapi -->|"requests chat"| node_backend
node_router -->|"routes editor"| node_editor
node_editor -.->|"syncs edits"| node_editorservice
node_editorservice -.->|"syncs sessions"| node_realtime
node_layout -.->|"offers schedules"| node_schedule
node_layout -.->|"offers file sharing"| node_drive
node_drive -.->|"manages files"| node_driveapi
node_driveapi -.->|"stores files"| node_storage
node_router -->|"routes meetings"| node_meeting
node_meeting -->|"requests meeting"| node_meetingapi
node_meetingapi -->|"requests meeting service"| node_backend
node_meeting -.->|"joins video room"| node_livekit
node_meeting -.->|"stores recordings"| node_storage
node_layout -.->|"offers search"| node_search
node_search -->|"queries content"| node_searchapi
node_searchapi -.->|"searches index"| node_searchengine
node_searchapi -->|"sends query"| node_backend
node_authstore -->|"connects notifications"| node_sse
node_sse -->|"delivers events"| node_notifications
node_notifications -.->|"updates alerts"| node_backend
node_chat -.->|"sends live messages"| node_realtime

click node_landing "https://github.com/astraglus03/synco-fe/blob/develop/src/views/landing/LandingPage.vue"
click node_router "https://github.com/astraglus03/synco-fe/blob/develop/src/router/index.js"
click node_auth "https://github.com/astraglus03/synco-fe/blob/develop/src/components/auth/AuthModal.vue"
click node_authapi "https://github.com/astraglus03/synco-fe/blob/develop/src/api/member/auth.js"
click node_authstore "https://github.com/astraglus03/synco-fe/blob/develop/src/store/authStore.js"
click node_layout "https://github.com/astraglus03/synco-fe/blob/develop/src/layouts/MainLayout.vue"
click node_workspaceui "https://github.com/astraglus03/synco-fe/blob/develop/src/layouts/WorkspaceSidebar.vue"
click node_workspacestore "https://github.com/astraglus03/synco-fe/blob/develop/src/store/workspaceStore.js"
click node_workspaceapi "https://github.com/astraglus03/synco-fe/blob/develop/src/api/workspace/workSpaceApi.js"
click node_chat "https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/Chat.vue"
click node_chatapi "https://github.com/astraglus03/synco-fe/blob/develop/src/api/chat/chatApi.js"
click node_editor "https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/SharedDocEditor.vue"
click node_editorservice "https://github.com/astraglus03/synco-fe/blob/develop/src/services/editorStompService.js"
click node_schedule "https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/Schedule.vue"
click node_drive "https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/ProjectDrive.vue"
click node_driveapi "https://github.com/astraglus03/synco-fe/blob/develop/src/api/drive/driveApi.js"
click node_meeting "https://github.com/astraglus03/synco-fe/blob/develop/src/views/MeetingView.vue"
click node_meetingapi "https://github.com/astraglus03/synco-fe/blob/develop/src/api/meeting/meetingApi.js"
click node_search "https://github.com/astraglus03/synco-fe/blob/develop/src/components/common/GlobalSearch.vue"
click node_searchapi "https://github.com/astraglus03/synco-fe/blob/develop/src/api/search/searchApi.js"
click node_notifications "https://github.com/astraglus03/synco-fe/blob/develop/src/store/notificationStore.js"
click node_sse "https://github.com/astraglus03/synco-fe/blob/develop/src/api/notification/sseApi.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_landing,node_router,node_auth toneBlue
class node_layout,node_workspaceui toneAmber
class node_chat,node_editor,node_editorservice,node_schedule,node_drive,node_meeting,node_search toneMint
class node_authapi,node_authstore,node_workspacestore,node_workspaceapi,node_chatapi,node_driveapi,node_meetingapi,node_searchapi,node_notifications,node_sse toneRose
class node_backend,node_livekit,node_storage,node_searchengine,node_realtime,node_user toneIndigo
```

## Components

### Entry and identity

- [Landing page](https://github.com/astraglus03/synco-fe/blob/develop/src/views/landing/LandingPage.vue): `src/views/landing/LandingPage.vue`
- [App routing](https://github.com/astraglus03/synco-fe/blob/develop/src/router/index.js): `src/router/index.js`
- [Authentication UI](https://github.com/astraglus03/synco-fe/blob/develop/src/components/auth/AuthModal.vue): `src/components/auth/AuthModal.vue`

### Workspace experience

- [Workspace layout](https://github.com/astraglus03/synco-fe/blob/develop/src/layouts/MainLayout.vue): `src/layouts/MainLayout.vue`
- [Workspace navigation](https://github.com/astraglus03/synco-fe/blob/develop/src/layouts/WorkspaceSidebar.vue): `src/layouts/WorkspaceSidebar.vue`

### Collaboration features

- [Workspace chat](https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/Chat.vue): `src/components/workspace/Chat.vue`
- [Shared documents](https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/SharedDocEditor.vue): `src/components/workspace/SharedDocEditor.vue`
- [Editor sync](https://github.com/astraglus03/synco-fe/blob/develop/src/services/editorStompService.js): `src/services/editorStompService.js`
- [Schedules](https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/Schedule.vue): `src/components/workspace/Schedule.vue`
- [Personal and team drive](https://github.com/astraglus03/synco-fe/blob/develop/src/components/workspace/ProjectDrive.vue): `src/components/workspace/ProjectDrive.vue`
- [Video meetings](https://github.com/astraglus03/synco-fe/blob/develop/src/views/MeetingView.vue): `src/views/MeetingView.vue`
- [Global search](https://github.com/astraglus03/synco-fe/blob/develop/src/components/common/GlobalSearch.vue): `src/components/common/GlobalSearch.vue`

### Client state and APIs

- [Member API](https://github.com/astraglus03/synco-fe/blob/develop/src/api/member/auth.js): `src/api/member/auth.js`
- [Auth state](https://github.com/astraglus03/synco-fe/blob/develop/src/store/authStore.js): `src/store/authStore.js`
- [Workspace state](https://github.com/astraglus03/synco-fe/blob/develop/src/store/workspaceStore.js): `src/store/workspaceStore.js`
- [Workspace API](https://github.com/astraglus03/synco-fe/blob/develop/src/api/workspace/workSpaceApi.js): `src/api/workspace/workSpaceApi.js`
- [Chat API](https://github.com/astraglus03/synco-fe/blob/develop/src/api/chat/chatApi.js): `src/api/chat/chatApi.js`
- [Drive API](https://github.com/astraglus03/synco-fe/blob/develop/src/api/drive/driveApi.js): `src/api/drive/driveApi.js`
- [Meeting API](https://github.com/astraglus03/synco-fe/blob/develop/src/api/meeting/meetingApi.js): `src/api/meeting/meetingApi.js`
- [Search API](https://github.com/astraglus03/synco-fe/blob/develop/src/api/search/searchApi.js): `src/api/search/searchApi.js`
- [Notification state](https://github.com/astraglus03/synco-fe/blob/develop/src/store/notificationStore.js): `src/store/notificationStore.js`
- [SSE client](https://github.com/astraglus03/synco-fe/blob/develop/src/api/notification/sseApi.js): `src/api/notification/sseApi.js`

### External services

- **Synco backend**
- **LiveKit**
- **S3 and CDN**
- **Elasticsearch**
- **STOMP and Redis**

### Other components

- **Member**

## Connections

- Member → Landing page: visits
- Landing page → App routing: enters (evidence: `src/router/index.js`)
- App routing → Authentication UI: routes to (evidence: `src/router/index.js`)
- Authentication UI → Member API: authenticates
- Member API → Synco backend: requests identity (evidence: `src/api/member/auth.js`)
- Authentication UI → Auth state: sets session
- App routing → Auth state: checks access (evidence: `src/router/index.js`)
- App routing → Workspace layout: routes workspace (evidence: `src/router/index.js`)
- Workspace layout → Workspace navigation: renders navigation
- Workspace navigation → Workspace state: selects workspace (evidence: `src/layouts/WorkspaceSidebar.vue`)
- Workspace state → Workspace API: loads workspaces (evidence: `src/store/workspaceStore.js`)
- Workspace API → Synco backend: requests workspace (evidence: `src/api/workspace/workSpaceApi.js`)
- App routing → Workspace chat: routes chat (evidence: `src/router/index.js`)
- Workspace chat → Chat API: loads messages (evidence: `src/components/workspace/Chat.vue`)
- Chat API → Synco backend: requests chat (evidence: `src/api/chat/chatApi.js`)
- App routing → Shared documents: routes editor (evidence: `src/router/index.js`)
- Shared documents → Editor sync: syncs edits (evidence: `README.md`)
- Editor sync → STOMP and Redis: syncs sessions (evidence: `README.md`)
- Workspace layout → Schedules: offers schedules (evidence: `README.md`)
- Workspace layout → Personal and team drive: offers file sharing (evidence: `README.md`)
- Personal and team drive → Drive API: manages files (evidence: `README.md`)
- Drive API → S3 and CDN: stores files (evidence: `README.md`)
- App routing → Video meetings: routes meetings (evidence: `src/router/index.js`)
- Video meetings → Meeting API: requests meeting (evidence: `src/views/MeetingView.vue`)
- Meeting API → Synco backend: requests meeting service (evidence: `src/api/meeting/meetingApi.js`)
- Video meetings → LiveKit: joins video room (evidence: `README.md`)
- Video meetings → S3 and CDN: stores recordings (evidence: `README.md`)
- Workspace layout → Global search: offers search (evidence: `README.md`)
- Global search → Search API: queries content (evidence: `src/components/common/GlobalSearch.vue`)
- Search API → Elasticsearch: searches index (evidence: `README.md`)
- Search API → Synco backend: sends query (evidence: `src/api/search/searchApi.js`)
- Auth state → SSE client: connects notifications (evidence: `src/store/authStore.js`)
- SSE client → Notification state: delivers events (evidence: `src/api/notification/sseApi.js`)
- Notification state → Synco backend: updates alerts (evidence: `README.md`)
- Workspace chat → STOMP and Redis: sends live messages (evidence: `README.md`)
