# hahuy1/bachhoaxanh architecture

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

- Interactive diagram: https://gitdiagram.com/hahuy1/bachhoaxanh
- Repository: https://github.com/hahuy1/bachhoaxanh

## Overview

Mini-Netflix is described as a database-backed streaming platform for accounts, subscriptions, video cataloging, access control, and viewing activity. The documented user-facing capabilities include account and profile setup, subscription registration, viewing, watchlists, and finding unfinished or previously watched videos. No source excerpts or implementation files are available, so this map represents documented capabilities only; it does not infer runtime call order or internal data relationships.

Main entry points: [`README.md`](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md) (User accounts)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and plans"]
  node_accounts[("User accounts<br/>[README.md]")]
  node_profiles[("Profiles<br/>[README.md]")]
  node_subscriptions[("Subscription tiers<br/>[README.md]")]
end

subgraph group_catalog["Content and access"]
  node_catalog[("Movies and episodes<br/>[README.md]")]
  node_classification["Content classification<br/>[README.md]"]
  node_access["Access control<br/>[README.md]"]
end

subgraph group_activity["Viewing activity"]
  node_watching["Video viewing<br/>[README.md]"]
  node_history[("Watch history<br/>[README.md]")]
  node_watchlists[("Watchlists<br/>[README.md]")]
  node_resume_search["Resume and replay search<br/>[README.md]"]
end

node_viewer(("Viewer"))

node_viewer -->|"registers"| node_accounts
node_viewer -->|"creates"| node_profiles
node_viewer -->|"registers plan"| node_subscriptions
node_viewer -->|"views content"| node_watching
node_viewer -->|"saves titles"| node_watchlists
node_viewer -->|"searches viewing"| node_resume_search

click node_accounts "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_profiles "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_subscriptions "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_catalog "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_classification "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_access "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_watching "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_history "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_watchlists "https://github.com/hahuy1/bachhoaxanh/blob/main/README.md"
click node_resume_search "https://github.com/hahuy1/bachhoaxanh/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_accounts,node_profiles,node_subscriptions,node_viewer toneBlue
class node_catalog,node_classification,node_access toneAmber
class node_watching,node_history,node_watchlists,node_resume_search toneMint
```

## Components

### Identity and plans

- [User accounts](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Profiles](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Subscription tiers](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`

### Content and access

- [Movies and episodes](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Content classification](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Access control](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`

### Viewing activity

- [Video viewing](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Watch history](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Watchlists](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`
- [Resume and replay search](https://github.com/hahuy1/bachhoaxanh/blob/main/README.md): `README.md`

### Other components

- **Viewer**

## Connections

- Viewer → User accounts: registers (evidence: `README.md`)
- Viewer → Profiles: creates (evidence: `README.md`)
- Viewer → Subscription tiers: registers plan (evidence: `README.md`)
- Viewer → Video viewing: views content (evidence: `README.md`)
- Viewer → Watchlists: saves titles (evidence: `README.md`)
- Viewer → Resume and replay search: searches viewing (evidence: `README.md`)
