# dasrecord/festivall architecture

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

- Interactive diagram: https://gitdiagram.com/dasrecord/festivall
- Repository: https://github.com/dasrecord/festivall

## Overview

Festivall is a multi-festival website and operations platform: visitors browse festival information and apply or manage tickets, while staff handle admission, meals, and administration. The repository also includes Reunion supporter live features and signed short links. The graph covers these user-facing domains and the Firebase/Cloud Functions layer. Some domain screens are unsampled; their existence and routing are supported by the source index, but uncertain internal calls are omitted. The README provides the evidence for the documented live-input and short-link integrations.

Main entry points: [`src/router/index.ts`](https://github.com/dasrecord/festivall/blob/main/src/router/index.ts) (Page routing), [`functions/short-links-handler.js`](https://github.com/dasrecord/festivall/blob/main/functions/short-links-handler.js) (Short-link handler), [`src/App.vue`](https://github.com/dasrecord/festivall/blob/main/src/App.vue) (Vue application), [`src/components/PosterSplash.vue`](https://github.com/dasrecord/festivall/blob/main/src/components/PosterSplash.vue) (Festival posters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Website and festivals"]
  node_app["Vue application<br/>[App.vue]"]
  node_router["Page routing<br/>[index.ts]"]
  node_poster["Festival posters<br/>[PosterSplash.vue]"]
  node_festival_content["Festival pages"]
  node_bbp_config["Block Party config"]
  node_seasonal_promos["Seasonal promotions"]
end

subgraph group_reunion["Reunion participation"]
  node_application["Reunion applications"]
  node_tickets["Ticket sales and access"]
  node_ticket_transfer["Ticket transfers"]
  node_participant_model["Participant records<br/>[participant.ts]"]
end

subgraph group_operations["Festival operations"]
  node_checkin["Self check-in"]
  node_scanner["Ticket scanning"]
  node_attendee_slots["Admission slots"]
  node_meal_service["Self meal service"]
  node_task_admin["Task administration"]
  node_seasonal_admin["Promotion admin"]
  node_short_link_admin["Short-link admin"]
end

subgraph group_live["Live supporter features"]
  node_offseason_stream["Off-season stream"]
  node_paint_pad["Supporter paint pad"]
  node_live_input_api["Admin live input"]
end

subgraph group_platform["Data and services"]
  node_festival_config["Festival config<br/>[festivalConfig.js]"]
  node_firebase["Firebase clients<br/>[firebase.js]"]
  node_firestore[("Firebase Firestore")]
  node_cloud_functions["Cloud Functions<br/>[index.js]"]
  node_short_links["Short-link handler"]
  node_short_link_store[("Short-link records")]
end

node_visitor(("Visitor"))
node_staff(("Admin staff"))
node_destination(("Link destination"))

node_visitor -->|"opens"| node_app
node_staff -->|"opens"| node_app
node_app -->|"renders routes"| node_router
node_router -->|"routes to"| node_festival_content
node_app -->|"shows"| node_poster
node_poster -->|"reads settings"| node_bbp_config
node_poster -->|"reads settings"| node_festival_config
node_router -->|"routes to"| node_application
node_router -->|"routes to"| node_tickets
node_router -->|"routes to"| node_checkin
node_router -->|"routes to"| node_scanner
node_router -->|"routes to"| node_meal_service
node_router -->|"routes to"| node_seasonal_promos
node_router -->|"routes to"| node_seasonal_admin
node_router -->|"routes to"| node_task_admin
node_router -->|"routes to"| node_short_link_admin
node_tickets -->|"uses transfer logic"| node_ticket_transfer
node_ticket_transfer -->|"uses Firebase"| node_firebase
node_attendee_slots -->|"updates admission records"| node_firestore
node_meal_service -->|"updates meal records"| node_firestore
node_task_admin -->|"manages task status"| node_firestore
node_firebase -->|"connects clients"| node_firestore
node_offseason_stream -->|"renders"| node_paint_pad
node_paint_pad -->|"submits admin input"| node_live_input_api
node_offseason_stream -->|"sends signed input"| node_live_input_api
node_cloud_functions -->|"registers handler"| node_live_input_api
node_cloud_functions -->|"registers handler"| node_short_links
node_short_link_admin -->|"manages links"| node_short_links
node_short_links -->|"reads and writes"| node_short_link_store
node_visitor -->|"resolves slug"| node_short_links
node_short_links -->|"redirects"| node_destination

click node_app "https://github.com/dasrecord/festivall/blob/main/src/App.vue"
click node_router "https://github.com/dasrecord/festivall/blob/main/src/router/index.ts"
click node_poster "https://github.com/dasrecord/festivall/blob/main/src/components/PosterSplash.vue"
click node_festival_content "https://github.com/dasrecord/festivall/tree/main/src/views"
click node_bbp_config "https://github.com/dasrecord/festivall/blob/main/src/config/bitcoinBlockPartyConfig.js"
click node_festival_config "https://github.com/dasrecord/festivall/blob/main/src/config/festivalConfig.js"
click node_application "https://github.com/dasrecord/festivall/blob/main/src/views/ReunionApplicationView.vue"
click node_tickets "https://github.com/dasrecord/festivall/blob/main/src/views/ReunionTicketsView.vue"
click node_ticket_transfer "https://github.com/dasrecord/festivall/blob/main/src/composables/useTicketTransfer.js"
click node_participant_model "https://github.com/dasrecord/festivall/blob/main/src/types/participant.ts"
click node_checkin "https://github.com/dasrecord/festivall/blob/main/src/views/SelfCheckInView.vue"
click node_scanner "https://github.com/dasrecord/festivall/blob/main/src/views/TicketScannerView.vue"
click node_attendee_slots "https://github.com/dasrecord/festivall/blob/main/src/composables/useAttendeeSlots.ts"
click node_meal_service "https://github.com/dasrecord/festivall/blob/main/src/views/SelfMealServiceView.vue"
click node_task_admin "https://github.com/dasrecord/festivall/blob/main/src/views/AdminTaskManager.vue"
click node_seasonal_promos "https://github.com/dasrecord/festivall/blob/main/src/views/SeasonalPromoView.vue"
click node_seasonal_admin "https://github.com/dasrecord/festivall/blob/main/src/views/SeasonalPromoAdminView.vue"
click node_firebase "https://github.com/dasrecord/festivall/blob/main/src/firebase.js"
click node_offseason_stream "https://github.com/dasrecord/festivall/blob/main/src/components/offseason/OffSeasonStreamCard.vue"
click node_paint_pad "https://github.com/dasrecord/festivall/blob/main/src/components/offseason/OffSeasonPaintPad.vue"
click node_live_input_api "https://github.com/dasrecord/festivall/blob/main/functions/admin-live-handler.js"
click node_cloud_functions "https://github.com/dasrecord/festivall/blob/main/functions/index.js"
click node_short_links "https://github.com/dasrecord/festivall/blob/main/functions/short-links-handler.js"
click node_short_link_admin "https://github.com/dasrecord/festivall/blob/main/src/views/AdminShortLinksView.vue"

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_router,node_poster,node_festival_content,node_bbp_config,node_seasonal_promos toneBlue
class node_application,node_tickets,node_ticket_transfer,node_participant_model toneAmber
class node_checkin,node_scanner,node_attendee_slots,node_meal_service,node_task_admin,node_seasonal_admin,node_short_link_admin toneMint
class node_offseason_stream,node_paint_pad,node_live_input_api toneRose
class node_festival_config,node_firebase,node_firestore,node_cloud_functions,node_short_links,node_short_link_store,node_visitor,node_staff,node_destination toneIndigo
```

## Components

### Website and festivals

- [Vue application](https://github.com/dasrecord/festivall/blob/main/src/App.vue): `src/App.vue`
- [Page routing](https://github.com/dasrecord/festivall/blob/main/src/router/index.ts): `src/router/index.ts`
- [Festival posters](https://github.com/dasrecord/festivall/blob/main/src/components/PosterSplash.vue): `src/components/PosterSplash.vue`
- [Festival pages](https://github.com/dasrecord/festivall/tree/main/src/views): `src/views`
- [Block Party config](https://github.com/dasrecord/festivall/blob/main/src/config/bitcoinBlockPartyConfig.js): `src/config/bitcoinBlockPartyConfig.js`
- [Seasonal promotions](https://github.com/dasrecord/festivall/blob/main/src/views/SeasonalPromoView.vue): `src/views/SeasonalPromoView.vue`

### Reunion participation

- [Reunion applications](https://github.com/dasrecord/festivall/blob/main/src/views/ReunionApplicationView.vue): `src/views/ReunionApplicationView.vue`
- [Ticket sales and access](https://github.com/dasrecord/festivall/blob/main/src/views/ReunionTicketsView.vue): `src/views/ReunionTicketsView.vue`
- [Ticket transfers](https://github.com/dasrecord/festivall/blob/main/src/composables/useTicketTransfer.js): `src/composables/useTicketTransfer.js`
- [Participant records](https://github.com/dasrecord/festivall/blob/main/src/types/participant.ts): `src/types/participant.ts`

### Festival operations

- [Self check-in](https://github.com/dasrecord/festivall/blob/main/src/views/SelfCheckInView.vue): `src/views/SelfCheckInView.vue`
- [Ticket scanning](https://github.com/dasrecord/festivall/blob/main/src/views/TicketScannerView.vue): `src/views/TicketScannerView.vue`
- [Admission slots](https://github.com/dasrecord/festivall/blob/main/src/composables/useAttendeeSlots.ts): `src/composables/useAttendeeSlots.ts`
- [Self meal service](https://github.com/dasrecord/festivall/blob/main/src/views/SelfMealServiceView.vue): `src/views/SelfMealServiceView.vue`
- [Task administration](https://github.com/dasrecord/festivall/blob/main/src/views/AdminTaskManager.vue): `src/views/AdminTaskManager.vue`
- [Promotion admin](https://github.com/dasrecord/festivall/blob/main/src/views/SeasonalPromoAdminView.vue): `src/views/SeasonalPromoAdminView.vue`
- [Short-link admin](https://github.com/dasrecord/festivall/blob/main/src/views/AdminShortLinksView.vue): `src/views/AdminShortLinksView.vue`

### Live supporter features

- [Off-season stream](https://github.com/dasrecord/festivall/blob/main/src/components/offseason/OffSeasonStreamCard.vue): `src/components/offseason/OffSeasonStreamCard.vue`
- [Supporter paint pad](https://github.com/dasrecord/festivall/blob/main/src/components/offseason/OffSeasonPaintPad.vue): `src/components/offseason/OffSeasonPaintPad.vue`
- [Admin live input](https://github.com/dasrecord/festivall/blob/main/functions/admin-live-handler.js): `functions/admin-live-handler.js`

### Data and services

- [Festival config](https://github.com/dasrecord/festivall/blob/main/src/config/festivalConfig.js): `src/config/festivalConfig.js`
- [Firebase clients](https://github.com/dasrecord/festivall/blob/main/src/firebase.js): `src/firebase.js`
- **Firebase Firestore**
- [Cloud Functions](https://github.com/dasrecord/festivall/blob/main/functions/index.js): `functions/index.js`
- [Short-link handler](https://github.com/dasrecord/festivall/blob/main/functions/short-links-handler.js): `functions/short-links-handler.js`
- **Short-link records**

### Other components

- **Visitor**
- **Admin staff**
- **Link destination**

## Connections

- Visitor → Vue application: opens (evidence: `src/App.vue`)
- Admin staff → Vue application: opens (evidence: `src/App.vue`)
- Vue application → Page routing: renders routes (evidence: `src/App.vue`)
- Page routing → Festival pages: routes to (evidence: `src/router/index.ts`)
- Vue application → Festival posters: shows (evidence: `src/App.vue`)
- Festival posters → Block Party config: reads settings (evidence: `src/components/PosterSplash.vue`)
- Festival posters → Festival config: reads settings (evidence: `src/components/PosterSplash.vue`)
- Page routing → Reunion applications: routes to (evidence: `src/router/index.ts`)
- Page routing → Ticket sales and access: routes to (evidence: `src/router/index.ts`)
- Page routing → Self check-in: routes to (evidence: `src/router/index.ts`)
- Page routing → Ticket scanning: routes to (evidence: `src/router/index.ts`)
- Page routing → Self meal service: routes to (evidence: `src/router/index.ts`)
- Page routing → Seasonal promotions: routes to (evidence: `src/router/index.ts`)
- Page routing → Promotion admin: routes to (evidence: `src/router/index.ts`)
- Page routing → Task administration: routes to (evidence: `src/router/index.ts`)
- Page routing → Short-link admin: routes to (evidence: `src/router/index.ts`)
- Ticket sales and access → Ticket transfers: uses transfer logic
- Ticket transfers → Firebase clients: uses Firebase (evidence: `src/composables/useTicketTransfer.js`)
- Admission slots → Firebase Firestore: updates admission records (evidence: `src/composables/useAttendeeSlots.ts`)
- Self meal service → Firebase Firestore: updates meal records (evidence: `src/views/SelfMealServiceView.vue`)
- Task administration → Firebase Firestore: manages task status (evidence: `src/views/AdminTaskManager.vue`)
- Firebase clients → Firebase Firestore: connects clients (evidence: `src/firebase.js`)
- Off-season stream → Supporter paint pad: renders (evidence: `src/components/offseason/OffSeasonStreamCard.vue`)
- Supporter paint pad → Admin live input: submits admin input (evidence: `README.md`)
- Off-season stream → Admin live input: sends signed input (evidence: `README.md`)
- Cloud Functions → Admin live input: registers handler (evidence: `functions/index.js`)
- Cloud Functions → Short-link handler: registers handler (evidence: `functions/index.js`)
- Short-link admin → Short-link handler: manages links (evidence: `README.md`)
- Short-link handler → Short-link records: reads and writes
- Visitor → Short-link handler: resolves slug (evidence: `README.md`)
- Short-link handler → Link destination: redirects (evidence: `functions/short-links-handler.js`)
