# zineddinemehdi312-sudo/maquette-ticketing-phenix architecture

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

- Interactive diagram: https://gitdiagram.com/zineddinemehdi312-sudo/maquette-ticketing-phenix
- Repository: https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix

## Overview

Phenix Tickets Lot 1 is a browser-based, executable CRM mockup, not a connected ticketing backend. The principal workflow is navigating ticket lists, opening or creating a ticket, reviewing its history and attachments, then updating it or creating a linked modification request. The README also documents statistics and partner-facing views. The UI is implemented in one large JavaScript file; unsampled wiring is not assumed, and the duplicate “phenix-tickets 7” tree is omitted.

Main entry points: [`js/app.js`](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js) (Ticket application), [`js/referentiel.js`](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/referentiel.js) (Workflow and field reference), [`js/donnees-demo.js`](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/donnees-demo.js) (Generated ticket data), [`js/fichiers-demo.js`](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/fichiers-demo.js) (Sample attachment data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Ticket experience"]
  node_app["Ticket application<br/>[app.js]"]
  node_ticket_views["Ticket workflows<br/>[app.js]"]
  node_mod_requests["Modification requests<br/>[app.js]"]
  node_partner_views["Partner views<br/>[app.js]"]
  node_statistics["Treatment statistics<br/>[app.js]"]
end

subgraph group_domain["Domain configuration"]
  node_reference["Workflow and field reference<br/>[referentiel.js]"]
end

subgraph group_demo["Demo content"]
  node_ticket_demo_data["Generated ticket data<br/>[donnees-demo.js]"]
  node_file_demo_data["Sample attachment data<br/>[fichiers-demo.js]"]
end

subgraph group_state["Browser state"]
  node_attachment_store[("IndexedDB attachments")]
end

node_user(("CRM user"))
node_mail(("Email recipients"))

node_user -->|"uses"| node_app
node_app -->|"looks up"| node_reference
node_app -->|"stores files"| node_attachment_store
node_app -.->|"uses demo data"| node_ticket_demo_data
node_app -.->|"uses samples"| node_file_demo_data
node_app -.->|"notifies"| node_mail

click node_app "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js"
click node_ticket_views "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js"
click node_mod_requests "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js"
click node_partner_views "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js"
click node_statistics "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js"
click node_reference "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/referentiel.js"
click node_ticket_demo_data "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/donnees-demo.js"
click node_file_demo_data "https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/fichiers-demo.js"

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_ticket_views,node_mod_requests,node_partner_views,node_statistics,node_user toneBlue
class node_reference toneAmber
class node_ticket_demo_data,node_file_demo_data toneMint
class node_attachment_store toneRose
class node_mail toneIndigo
```

## Components

### Ticket experience

- [Ticket application](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js): `js/app.js`
- [Ticket workflows](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js): `js/app.js`
- [Modification requests](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js): `js/app.js`
- [Partner views](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js): `js/app.js`
- [Treatment statistics](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/app.js): `js/app.js`

### Domain configuration

- [Workflow and field reference](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/referentiel.js): `js/referentiel.js`

### Demo content

- [Generated ticket data](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/donnees-demo.js): `js/donnees-demo.js`
- [Sample attachment data](https://github.com/zineddinemehdi312-sudo/maquette-ticketing-phenix/blob/main/js/fichiers-demo.js): `js/fichiers-demo.js`

### Browser state

- **IndexedDB attachments**

### Other components

- **CRM user**
- **Email recipients**

## Connections

- CRM user → Ticket application: uses (evidence: `README.md`)
- Ticket application → Workflow and field reference: looks up (evidence: `js/app.js`)
- Ticket application → IndexedDB attachments: stores files (evidence: `README.md`)
- Ticket application → Generated ticket data: uses demo data
- Ticket application → Sample attachment data: uses samples
- Ticket application → Email recipients: notifies
