# eya-khazri/douane-temporelle architecture

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

- Interactive diagram: https://gitdiagram.com/eya-khazri/douane-temporelle
- Repository: https://github.com/eya-khazri/douane-temporelle

## Overview

Douane Temporelle is a small Android app simulating a temporal customs check. The documented user journey moves from a form to a passport check involving a prime-number test, then to an approval or refusal verdict. The three activity files correspond to these stages by their names and the README’s activity descriptions; the README also mentions navigation. Source excerpts for the app were not provided, so implementation details and the use of Cles cannot be verified.

Main entry points: [`app/src/main/java/com/example/douanetemporelle/MainActivity.java`](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/MainActivity.java) (Entry form), [`app/src/main/java/com/example/douanetemporelle/VerificationActivity.java`](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/VerificationActivity.java) (Passport check), [`app/src/main/java/com/example/douanetemporelle/ResultActivity.java`](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/ResultActivity.java) (Customs verdict)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intake["Traveler intake"]
  node_form["Entry form<br/>[MainActivity.java]"]
  node_keys["Key constants<br/>[Cles.java]"]
end

subgraph group_check["Passport check"]
  node_passport["Passport check"]
end

subgraph group_decision["Verdict"]
  node_verdict["Customs verdict"]
end

node_traveler(("Traveler"))

node_traveler -->|"enters details"| node_form
node_form -->|"continues to"| node_passport
node_passport -->|"gets decision"| node_verdict

click node_form "https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/MainActivity.java"
click node_keys "https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/Cles.java"
click node_passport "https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/VerificationActivity.java"
click node_verdict "https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/ResultActivity.java"

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_form,node_keys toneBlue
class node_passport toneAmber
class node_verdict toneMint
class node_traveler toneIndigo
```

## Components

### Traveler intake

- [Entry form](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/MainActivity.java): `app/src/main/java/com/example/douanetemporelle/MainActivity.java`
- [Key constants](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/Cles.java): `app/src/main/java/com/example/douanetemporelle/Cles.java`

### Passport check

- [Passport check](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/VerificationActivity.java): `app/src/main/java/com/example/douanetemporelle/VerificationActivity.java`

### Verdict

- [Customs verdict](https://github.com/eya-khazri/douane-temporelle/blob/main/app/src/main/java/com/example/douanetemporelle/ResultActivity.java): `app/src/main/java/com/example/douanetemporelle/ResultActivity.java`

### Other components

- **Traveler**

## Connections

- Traveler → Entry form: enters details (evidence: `README.md`)
- Entry form → Passport check: continues to (evidence: `README.md`)
- Passport check → Customs verdict: gets decision (evidence: `README.md`)
