# anilyadavjnt/movieticketbooking architecture

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

- Interactive diagram: https://gitdiagram.com/anilyadavjnt/movieticketbooking
- Repository: https://github.com/anilyadavjnt/movieticketbooking

## Overview

This is presented as a UIKit movie-ticket booking app. The README describes a discovery-to-confirmation workflow, REST API and Firebase capabilities; the sampled Swift files show only the default app/scene lifecycle and an empty view controller. Accordingly, documented screens and integrations are represented as README-described capabilities, not as verified implementations or source-level calls.

Main entry points: [`README.md`](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md) (Movie discovery), [`MovieTicketBooking/AppDelegate.swift`](https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/AppDelegate.swift) (App delegate)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App shell"]
  node_app["App delegate<br/>[AppDelegate.swift]"]
  node_scene["Scene lifecycle"]
  node_controller["Root controller"]
end

subgraph group_booking["Booking flow"]
  node_discovery["Movie discovery<br/>[README.md]"]
  node_details["Movie details<br/>[README.md]"]
  node_show["Show selection<br/>[README.md]"]
  node_seats["Seat selection<br/>[README.md]"]
  node_summary["Booking summary<br/>[README.md]"]
  node_payment["Payment UI<br/>[README.md]"]
  node_confirmation["Confirmation<br/>[README.md]"]
end

subgraph group_services["Integrations"]
  node_rest{{"REST API<br/>[README.md]"}}
  node_firebase{{"Firebase<br/>[README.md]"}}
end

node_user(("Moviegoer"))

node_user -->|"browses"| node_discovery
node_discovery -->|"opens"| node_details
node_details -->|"selects show"| node_show
node_show -->|"selects seats"| node_seats
node_seats -->|"reviews booking"| node_summary
node_summary -->|"continues"| node_payment
node_payment -->|"confirms"| node_confirmation
node_rest -.->|"supports data"| node_discovery
node_firebase -.->|"integrates"| node_app

click node_app "https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/AppDelegate.swift"
click node_scene "https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/SceneDelegate.swift"
click node_controller "https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/ViewController.swift"
click node_discovery "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_details "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_show "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_seats "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_summary "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_payment "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_confirmation "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_rest "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"
click node_firebase "https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md"

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_scene,node_controller toneBlue
class node_discovery,node_details,node_show,node_seats,node_summary,node_payment,node_confirmation toneAmber
class node_rest,node_firebase toneMint
class node_user toneIndigo
```

## Components

### App shell

- [App delegate](https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/AppDelegate.swift): `MovieTicketBooking/AppDelegate.swift`
- [Scene lifecycle](https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/SceneDelegate.swift): `MovieTicketBooking/SceneDelegate.swift`
- [Root controller](https://github.com/anilyadavjnt/movieticketbooking/blob/main/MovieTicketBooking/ViewController.swift): `MovieTicketBooking/ViewController.swift`

### Booking flow

- [Movie discovery](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Movie details](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Show selection](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Seat selection](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Booking summary](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Payment UI](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Confirmation](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`

### Integrations

- [REST API](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`
- [Firebase](https://github.com/anilyadavjnt/movieticketbooking/blob/main/README.md): `README.md`

### Other components

- **Moviegoer**

## Connections

- Moviegoer → Movie discovery: browses (evidence: `README.md`)
- Movie discovery → Movie details: opens (evidence: `README.md`)
- Movie details → Show selection: selects show (evidence: `README.md`)
- Show selection → Seat selection: selects seats (evidence: `README.md`)
- Seat selection → Booking summary: reviews booking (evidence: `README.md`)
- Booking summary → Payment UI: continues (evidence: `README.md`)
- Payment UI → Confirmation: confirms (evidence: `README.md`)
- REST API → Movie discovery: supports data (evidence: `README.md`)
- Firebase → App delegate: integrates (evidence: `README.md`)
