# raphaelschuhmann/gvw architecture

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

- Interactive diagram: https://gitdiagram.com/raphaelschuhmann/gvw
- Repository: https://github.com/raphaelschuhmann/gvw

## Overview

GVW Office is the repository’s choir-organization web platform. Its user workflow begins in the web interface, where administrators and choir members use organization tools such as member management, events, document/library features, reports, and help content; requests are mediated by frontend services and APIs and handled by backend controllers and services, with CouchDB-backed persistence. The README also describes customizable interfaces and administrative workflows. Relationships among unsampled feature modules are shown only as unverified dashed links; the sampled sources do not establish their detailed call wiring.

Main entry points: [`gvw-office/frontend/src/api`](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/api) (Frontend API), [`gvw-office/frontend/src/App.svelte`](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/frontend/src/App.svelte) (Application routes), [`gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service`](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service) (Domain services), [`gvw-office/frontend/src/pages/Members`](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Members) (Member management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_app["Application routes<br/>[App.svelte]"]
  node_ui["Shared interface"]
  node_state["Client state"]
  node_api["Frontend API"]
end

subgraph group_org["Organization tools"]
  node_members["Member management"]
  node_events["Event management"]
  node_dashboard["Dashboards"]
  node_admin["Administration"]
end

subgraph group_content["Content workflows"]
  node_library["Library and files"]
  node_reports["Reports"]
  node_help["Help center"]
  node_editor["Text editor"]
end

subgraph group_backend["Backend services"]
  node_auth["Authentication"]
  node_orgctrl["Organization endpoints"]
  node_contentctrl["Content endpoints"]
  node_services["Domain services"]
end

subgraph group_storage["Persistence and delivery"]
  node_database[("CouchDB access<br/>[DbService.java]")]
  node_sse["Live updates<br/>[SseService.java]"]
end

node_user(("Choir user"))

node_user -->|"uses"| node_app
node_app -->|"routes to"| node_members
node_app -->|"routes to"| node_events
node_app -->|"routes to"| node_library
node_app -->|"routes to"| node_reports
node_app -->|"routes to"| node_admin
node_app -->|"routes to"| node_dashboard
node_members -.->|"requests"| node_api
node_events -.->|"requests"| node_api
node_library -.->|"requests"| node_api
node_reports -.->|"requests"| node_api
node_help -.->|"requests"| node_api
node_editor -.->|"requests"| node_api
node_api -.->|"calls"| node_orgctrl
node_api -.->|"calls"| node_contentctrl
node_api -.->|"calls"| node_auth
node_orgctrl -.->|"delegates"| node_services
node_contentctrl -.->|"delegates"| node_services
node_auth -.->|"delegates"| node_services
node_services -.->|"reads and writes"| node_database
node_services -.->|"publishes updates"| node_sse

click node_app "https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/frontend/src/App.svelte"
click node_ui "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/components"
click node_state "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/stores"
click node_api "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/api"
click node_members "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Members"
click node_events "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Events"
click node_dashboard "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Dashboard"
click node_admin "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/AdminDashboard"
click node_library "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Library"
click node_reports "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Reports"
click node_help "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/HelpCenter"
click node_editor "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/components/TextEditor"
click node_auth "https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/AuthController.java"
click node_orgctrl "https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/MemberController.java"
click node_contentctrl "https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/LibraryController.java"
click node_services "https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service"
click node_database "https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/DbService.java"
click node_sse "https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/SseService.java"

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_ui,node_state,node_api,node_user toneBlue
class node_members,node_events,node_dashboard,node_admin toneAmber
class node_library,node_reports,node_help,node_editor toneMint
class node_auth,node_orgctrl,node_contentctrl,node_services toneRose
class node_database,node_sse toneIndigo
```

## Components

### Web application

- [Application routes](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/frontend/src/App.svelte): `gvw-office/frontend/src/App.svelte`
- [Shared interface](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/components): `gvw-office/frontend/src/components`
- [Client state](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/stores): `gvw-office/frontend/src/stores`
- [Frontend API](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/api): `gvw-office/frontend/src/api`

### Organization tools

- [Member management](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Members): `gvw-office/frontend/src/pages/Members`
- [Event management](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Events): `gvw-office/frontend/src/pages/Events`
- [Dashboards](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Dashboard): `gvw-office/frontend/src/pages/Dashboard`
- [Administration](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/AdminDashboard): `gvw-office/frontend/src/pages/AdminDashboard`

### Content workflows

- [Library and files](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Library): `gvw-office/frontend/src/pages/Library`
- [Reports](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/Reports): `gvw-office/frontend/src/pages/Reports`
- [Help center](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/pages/HelpCenter): `gvw-office/frontend/src/pages/HelpCenter`
- [Text editor](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/frontend/src/components/TextEditor): `gvw-office/frontend/src/components/TextEditor`

### Backend services

- [Authentication](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/AuthController.java): `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/AuthController.java`
- [Organization endpoints](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/MemberController.java): `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/MemberController.java`
- [Content endpoints](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/LibraryController.java): `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/LibraryController.java`
- [Domain services](https://github.com/raphaelschuhmann/gvw/tree/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service): `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service`

### Persistence and delivery

- [CouchDB access](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/DbService.java): `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/DbService.java`
- [Live updates](https://github.com/raphaelschuhmann/gvw/blob/main/gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/SseService.java): `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/SseService.java`

### Other components

- **Choir user**

## Connections

- Choir user → Application routes: uses
- Application routes → Member management: routes to (evidence: `gvw-office/frontend/src/App.svelte`)
- Application routes → Event management: routes to (evidence: `gvw-office/frontend/src/App.svelte`)
- Application routes → Library and files: routes to (evidence: `gvw-office/frontend/src/App.svelte`)
- Application routes → Reports: routes to (evidence: `gvw-office/frontend/src/App.svelte`)
- Application routes → Administration: routes to (evidence: `gvw-office/frontend/src/App.svelte`)
- Application routes → Dashboards: routes to (evidence: `gvw-office/frontend/src/App.svelte`)
- Member management → Frontend API: requests
- Event management → Frontend API: requests
- Library and files → Frontend API: requests
- Reports → Frontend API: requests
- Help center → Frontend API: requests
- Text editor → Frontend API: requests
- Frontend API → Organization endpoints: calls
- Frontend API → Content endpoints: calls
- Frontend API → Authentication: calls
- Organization endpoints → Domain services: delegates
- Content endpoints → Domain services: delegates (evidence: `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/controller/LibraryController.java`)
- Authentication → Domain services: delegates
- Domain services → CouchDB access: reads and writes (evidence: `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/AuthService.java`)
- Domain services → Live updates: publishes updates (evidence: `gvw-office/gvw-backend/src/main/java/com/gvw/gvwbackend/service/UserService.java`)
