# mhatreanuj57-alt/eventflow-qr architecture

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

- Interactive diagram: https://gitdiagram.com/mhatreanuj57-alt/eventflow-qr
- Repository: https://github.com/mhatreanuj57-alt/eventflow-qr

## Overview

EventFlow QR is a multi-organizer event registration and QR check-in platform. The principal workflow runs from event discovery and registration through ticket approval, QR pass delivery, scanning, and attendance management. Organizer tooling also covers event setup, branding, communications, volunteer scanning, and attendee status. The graph connects only relationships visible in the excerpts or README; some unsampled backend routes and infrastructure wiring are therefore represented as documented capabilities without guessed internal call chains.

Main entry points: [`frontend/src/Platform.jsx`](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/Platform.jsx) (Event Workspace), [`frontend/src/api.js`](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/api.js) (API Client), [`backend/platform_api.py`](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/platform_api.py) (HTTP API Routes), [`backend/handler.py`](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/handler.py) (Single Event API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Attendee and Organizer UI"]
  node_platform["Event Workspace<br/>[Platform.jsx]"]
  node_event_setup["Event Setup<br/>[EventSettings.jsx]"]
  node_communications["Communications<br/>[Communications.jsx]"]
  node_registration_status["Registration Status"]
  node_preview["Design Preview"]
  node_scanner_dashboard["Scanner and Dashboard<br/>[App.jsx]"]
  node_api_client["API Client<br/>[api.js]"]
  node_calendar_export["Calendar Export<br/>[event-calendar.js]"]
  node_attendance_export["Attendance CSV<br/>[attendance-csv.js]"]
  node_event_rules["Event Rules<br/>[platform-rules.js]"]
end

subgraph group_backend["Event and Registration API"]
  node_http_api["HTTP API Routes<br/>[platform_api.py]"]
  node_single_event_api["Single Event API<br/>[handler.py]"]
  node_ticket_lifecycle["Ticket Lifecycle"]
end

subgraph group_cloud["State and Delivery"]
  node_dynamodb[("DynamoDB State")]
  node_brand_storage[("Private Branding Storage")]
  node_email_delivery["Email Delivery"]
end

node_attendee(("Attendee"))
node_organizer(("Organizer"))
node_public_event_user(("Attendee"))
node_aws_services["AWS Services"]

node_attendee -->|"browses and registers"| node_platform
node_organizer -->|"manages events"| node_platform
node_platform -->|"requests API"| node_api_client
node_scanner_dashboard -->|"requests API"| node_api_client
node_communications -->|"requests API"| node_api_client
node_registration_status -->|"requests API"| node_api_client
node_api_client -.->|"sends requests"| node_http_api
node_api_client -.->|"sends requests"| node_single_event_api
node_http_api -->|"delegates lifecycle"| node_ticket_lifecycle
node_single_event_api -->|"dispatches mail jobs"| node_ticket_lifecycle
node_single_event_api -->|"reads and writes"| node_dynamodb
node_http_api -->|"reads and writes"| node_dynamodb
node_ticket_lifecycle -->|"updates ticket state"| node_dynamodb
node_ticket_lifecycle -->|"queues messages"| node_email_delivery
node_single_event_api -->|"sends pass email"| node_email_delivery
node_http_api -->|"stores event branding"| node_brand_storage
node_aws_services -.->|"provides storage"| node_dynamodb
node_aws_services -.->|"provides object storage"| node_brand_storage
node_platform -->|"uses settings"| node_event_setup
node_platform -->|"opens tools"| node_communications
node_platform -->|"opens status"| node_registration_status
node_platform -->|"opens scanner"| node_scanner_dashboard
node_platform -.->|"exports attendance"| node_attendance_export
node_platform -.->|"downloads calendar"| node_calendar_export
node_platform -->|"uses event rules"| node_event_rules
node_preview -->|"uses scanner"| node_scanner_dashboard
node_preview -->|"uses preview rules"| node_event_rules

click node_platform "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/Platform.jsx"
click node_event_setup "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/EventSettings.jsx"
click node_communications "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/Communications.jsx"
click node_registration_status "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/RegistrationStatus.jsx"
click node_preview "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/PlatformPreview.jsx"
click node_scanner_dashboard "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/App.jsx"
click node_api_client "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/api.js"
click node_calendar_export "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/event-calendar.js"
click node_attendance_export "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/attendance-csv.js"
click node_event_rules "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/platform-rules.js"
click node_http_api "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/platform_api.py"
click node_single_event_api "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/handler.py"
click node_ticket_lifecycle "https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/event_management.py"

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_platform,node_event_setup,node_communications,node_registration_status,node_preview,node_scanner_dashboard,node_api_client,node_calendar_export,node_attendance_export,node_event_rules toneBlue
class node_http_api,node_single_event_api,node_ticket_lifecycle toneAmber
class node_dynamodb,node_brand_storage,node_email_delivery toneMint
class node_attendee,node_organizer,node_public_event_user,node_aws_services toneIndigo
```

## Components

### Attendee and Organizer UI

- [Event Workspace](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/Platform.jsx): `frontend/src/Platform.jsx`
- [Event Setup](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/EventSettings.jsx): `frontend/src/EventSettings.jsx`
- [Communications](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/Communications.jsx): `frontend/src/Communications.jsx`
- [Registration Status](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/RegistrationStatus.jsx): `frontend/src/RegistrationStatus.jsx`
- [Design Preview](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/PlatformPreview.jsx): `frontend/src/PlatformPreview.jsx`
- [Scanner and Dashboard](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [API Client](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/api.js): `frontend/src/api.js`
- [Calendar Export](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/event-calendar.js): `frontend/src/event-calendar.js`
- [Attendance CSV](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/attendance-csv.js): `frontend/src/attendance-csv.js`
- [Event Rules](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/frontend/src/platform-rules.js): `frontend/src/platform-rules.js`

### Event and Registration API

- [HTTP API Routes](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/platform_api.py): `backend/platform_api.py`
- [Single Event API](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/handler.py): `backend/handler.py`
- [Ticket Lifecycle](https://github.com/mhatreanuj57-alt/eventflow-qr/blob/main/backend/event_management.py): `backend/event_management.py`

### State and Delivery

- **DynamoDB State**
- **Private Branding Storage**
- **Email Delivery**

### Other components

- **Attendee**
- **Organizer**
- **Attendee**
- **AWS Services**

## Connections

- Attendee → Event Workspace: browses and registers (evidence: `README.md`)
- Organizer → Event Workspace: manages events (evidence: `README.md`)
- Event Workspace → API Client: requests API (evidence: `frontend/src/Platform.jsx`)
- Scanner and Dashboard → API Client: requests API (evidence: `frontend/src/App.jsx`)
- Communications → API Client: requests API (evidence: `frontend/src/Communications.jsx`)
- Registration Status → API Client: requests API (evidence: `frontend/src/RegistrationStatus.jsx`)
- API Client → HTTP API Routes: sends requests
- API Client → Single Event API: sends requests
- HTTP API Routes → Ticket Lifecycle: delegates lifecycle (evidence: `backend/platform_api.py`)
- Single Event API → Ticket Lifecycle: dispatches mail jobs (evidence: `backend/handler.py`)
- Single Event API → DynamoDB State: reads and writes (evidence: `backend/handler.py`)
- HTTP API Routes → DynamoDB State: reads and writes (evidence: `backend/platform_api.py`)
- Ticket Lifecycle → DynamoDB State: updates ticket state (evidence: `backend/event_management.py`)
- Ticket Lifecycle → Email Delivery: queues messages (evidence: `backend/event_management.py`)
- Single Event API → Email Delivery: sends pass email (evidence: `backend/handler.py`)
- HTTP API Routes → Private Branding Storage: stores event branding (evidence: `backend/platform_api.py`)
- AWS Services → DynamoDB State: provides storage (evidence: `README.md`)
- AWS Services → Private Branding Storage: provides object storage (evidence: `README.md`)
- Event Workspace → Event Setup: uses settings (evidence: `frontend/src/Platform.jsx`)
- Event Workspace → Communications: opens tools (evidence: `frontend/src/Platform.jsx`)
- Event Workspace → Registration Status: opens status (evidence: `frontend/src/Platform.jsx`)
- Event Workspace → Scanner and Dashboard: opens scanner (evidence: `frontend/src/Platform.jsx`)
- Event Workspace → Attendance CSV: exports attendance (evidence: `frontend/src/Platform.jsx`)
- Event Workspace → Calendar Export: downloads calendar (evidence: `frontend/src/Platform.jsx`)
- Event Workspace → Event Rules: uses event rules (evidence: `frontend/src/Platform.jsx`)
- Design Preview → Scanner and Dashboard: uses scanner (evidence: `frontend/src/PlatformPreview.jsx`)
- Design Preview → Event Rules: uses preview rules (evidence: `frontend/src/PlatformPreview.jsx`)
