# school-of-company/expo-client architecture

> Architecture diagram of the GitHub repository school-of-company/expo-client, 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/school-of-company/expo-client
- Repository: https://github.com/school-of-company/expo-client

## Overview

EXPO is a web service for operating educational events: administrators configure exhibitions, participant forms, programs, and surveys; participants apply and use QR codes for entry and surveys; operators manage attendance and export data. The graph follows that documented workflow and preserves the related administration, registration, and account capabilities. Some links are based on the README rather than inspected page implementations; those edges cite the README, and unsampled implementation details are not inferred.

Main entry points: [`src/views/admin/ui/AdminPage/index.tsx`](https://github.com/school-of-company/expo-client/blob/develop/src/views/admin/ui/AdminPage/index.tsx) (Admin portal), [`src/features/application`](https://github.com/school-of-company/expo-client/tree/develop/src/features/application) (Application workflow), [`src/features/registration/applications`](https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/applications) (Registration management), [`src/features/form`](https://github.com/school-of-company/expo-client/tree/develop/src/features/form) (Form builder)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_event["Event setup"]
  node_admin["Admin portal<br/>[index.tsx]"]
  node_exhibition["Exhibition management"]
  node_schedule["Schedule management"]
  node_programs["Program management"]
end

subgraph group_forms["Forms and applications"]
  node_formbuilder["Form builder"]
  node_formrenderer["Dynamic form renderer<br/>[FormRenderer.tsx]"]
  node_application["Application workflow"]
  node_survey["Survey workflow<br/>[index.tsx]"]
end

subgraph group_operations["Event operations"]
  node_registration["Registration management"]
  node_dashboard["Operations dashboard"]
  node_attendance["QR check-in"]
  node_exports["Excel exports"]
end

subgraph group_platform["Platform services"]
  node_auth["Authentication"]
  node_verification["Phone verification"]
  node_sms["SMS messaging"]
  node_api["API routes and proxy"]
end

node_participant(("Participant"))
node_backend[("EXPO backend")]
node_smsprovider["SMS provider"]

node_admin -->|"manages events"| node_exhibition
node_admin -->|"configures forms"| node_formbuilder
node_admin -.->|"manages schedules"| node_schedule
node_admin -.->|"manages programs"| node_programs
node_formbuilder -.->|"defines fields"| node_formrenderer
node_participant -->|"submits application"| node_application
node_application -.->|"renders form"| node_formrenderer
node_application -->|"submits data"| node_backend
node_participant -->|"presents QR"| node_attendance
node_attendance -->|"records entry"| node_backend
node_participant -->|"answers survey"| node_survey
node_survey -->|"submits answers"| node_backend
node_admin -.->|"reviews applicants"| node_registration
node_registration -.->|"summarizes activity"| node_dashboard
node_registration -.->|"exports records"| node_exports
node_exports -.->|"retrieves data"| node_backend
node_participant -.->|"signs in"| node_auth
node_auth -->|"authenticates via"| node_api
node_api -->|"forwards requests"| node_backend
node_verification -.->|"requests code"| node_sms
node_sms -.->|"sends message"| node_smsprovider

click node_admin "https://github.com/school-of-company/expo-client/blob/develop/src/views/admin/ui/AdminPage/index.tsx"
click node_exhibition "https://github.com/school-of-company/expo-client/tree/develop/src/features/exhibition"
click node_schedule "https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/schedule"
click node_programs "https://github.com/school-of-company/expo-client/tree/develop/src/features/program"
click node_formbuilder "https://github.com/school-of-company/expo-client/tree/develop/src/features/form"
click node_formrenderer "https://github.com/school-of-company/expo-client/blob/develop/src/features/form/renderer/ui/FormRenderer.tsx"
click node_application "https://github.com/school-of-company/expo-client/tree/develop/src/features/application"
click node_survey "https://github.com/school-of-company/expo-client/blob/develop/src/features/application/ui/QrSurveyContainer/index.tsx"
click node_registration "https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/applications"
click node_dashboard "https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/dashboard"
click node_attendance "https://github.com/school-of-company/expo-client/tree/develop/src/features/exhibition/check-in"
click node_exports "https://github.com/school-of-company/expo-client/tree/develop/src/features/exhibition/participants"
click node_auth "https://github.com/school-of-company/expo-client/tree/develop/src/features/auth"
click node_verification "https://github.com/school-of-company/expo-client/tree/develop/src/features/phone-verification"
click node_sms "https://github.com/school-of-company/expo-client/tree/develop/src/features/sms/send-message"
click node_api "https://github.com/school-of-company/expo-client/tree/develop/src/app/api"

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_admin,node_exhibition,node_schedule,node_programs toneBlue
class node_formbuilder,node_formrenderer,node_application,node_survey,node_backend toneAmber
class node_registration,node_dashboard,node_attendance,node_exports toneMint
class node_auth,node_verification,node_sms,node_api toneRose
class node_participant,node_smsprovider toneIndigo
```

## Components

### Event setup

- [Admin portal](https://github.com/school-of-company/expo-client/blob/develop/src/views/admin/ui/AdminPage/index.tsx): `src/views/admin/ui/AdminPage/index.tsx`
- [Exhibition management](https://github.com/school-of-company/expo-client/tree/develop/src/features/exhibition): `src/features/exhibition`
- [Schedule management](https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/schedule): `src/features/registration/schedule`
- [Program management](https://github.com/school-of-company/expo-client/tree/develop/src/features/program): `src/features/program`

### Forms and applications

- [Form builder](https://github.com/school-of-company/expo-client/tree/develop/src/features/form): `src/features/form`
- [Dynamic form renderer](https://github.com/school-of-company/expo-client/blob/develop/src/features/form/renderer/ui/FormRenderer.tsx): `src/features/form/renderer/ui/FormRenderer.tsx`
- [Application workflow](https://github.com/school-of-company/expo-client/tree/develop/src/features/application): `src/features/application`
- [Survey workflow](https://github.com/school-of-company/expo-client/blob/develop/src/features/application/ui/QrSurveyContainer/index.tsx): `src/features/application/ui/QrSurveyContainer/index.tsx`

### Event operations

- [Registration management](https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/applications): `src/features/registration/applications`
- [Operations dashboard](https://github.com/school-of-company/expo-client/tree/develop/src/features/registration/dashboard): `src/features/registration/dashboard`
- [QR check-in](https://github.com/school-of-company/expo-client/tree/develop/src/features/exhibition/check-in): `src/features/exhibition/check-in`
- [Excel exports](https://github.com/school-of-company/expo-client/tree/develop/src/features/exhibition/participants): `src/features/exhibition/participants`

### Platform services

- [Authentication](https://github.com/school-of-company/expo-client/tree/develop/src/features/auth): `src/features/auth`
- [Phone verification](https://github.com/school-of-company/expo-client/tree/develop/src/features/phone-verification): `src/features/phone-verification`
- [SMS messaging](https://github.com/school-of-company/expo-client/tree/develop/src/features/sms/send-message): `src/features/sms/send-message`
- [API routes and proxy](https://github.com/school-of-company/expo-client/tree/develop/src/app/api): `src/app/api`

### Other components

- **Participant**
- **EXPO backend**
- **SMS provider**

## Connections

- Admin portal → Exhibition management: manages events
- Admin portal → Form builder: configures forms
- Admin portal → Schedule management: manages schedules
- Admin portal → Program management: manages programs
- Form builder → Dynamic form renderer: defines fields
- Participant → Application workflow: submits application
- Application workflow → Dynamic form renderer: renders form
- Application workflow → EXPO backend: submits data
- Participant → QR check-in: presents QR
- QR check-in → EXPO backend: records entry
- Participant → Survey workflow: answers survey
- Survey workflow → EXPO backend: submits answers
- Admin portal → Registration management: reviews applicants
- Registration management → Operations dashboard: summarizes activity
- Registration management → Excel exports: exports records
- Excel exports → EXPO backend: retrieves data
- Participant → Authentication: signs in
- Authentication → API routes and proxy: authenticates via (evidence: `src/app/api/auth/signin/route.ts`)
- API routes and proxy → EXPO backend: forwards requests (evidence: `src/app/api/auth/signin/route.ts`)
- Phone verification → SMS messaging: requests code
- SMS messaging → SMS provider: sends message
