# jitinchekka/netflix-clone architecture

> Architecture diagram of the GitHub repository jitinchekka/netflix-clone, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-07-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jitinchekka/netflix-clone
- Repository: https://github.com/jitinchekka/netflix-clone

## Overview

##### Project type and purpose
- From the file tree and README, this is a pure frontend “landing page” clone of Netflix built with static HTML, CSS, and image assets. There is no backend, database, or API—just a static site.

##### File structure
- Top‐level files:
- README.md – project description
- index.html – single entry point (landing page)
- css/styles.css – all styling
- images/ – static image assets
- No JavaScript, no build scripts, no server code.
- This implies a simple client-server architecture serving static files.

##### README for additional insights
- Confirms the goal: clone Netflix’s landing page using modern CSS.
- No mention of frameworks, build steps, or hosting details.

- Browser (Client)
- CDN / Static Host (Server)
- File system with CSS & images
- Blue for client components
- Green for server components
- Yellow for static assets

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Pipeline
    GitRepo["Git Repository"]:::pipeline
    CICD["CI/CD Pipeline"]:::pipeline
    Deploy["Deploy to Static Host"]:::pipeline

    GitRepo -->|"push code"| CICD
    CICD -->|"build & deploy"| Deploy
    Deploy -->|"hosts site on CDN"| Server

    %% Client
    subgraph "Client Side"
        Browser["User's Browser"]:::client
    end

    %% Server
    subgraph "Static Host / CDN" 
        direction TB
        Server["CDN / Static Asset Host"]:::server
        subgraph "Static Assets"
            direction TB
            HTML["index.html"]:::asset
            CSS["styles.css"]:::asset
            Images["images/"]:::asset
        end
    end

    %% Requests
    Browser -->|"HTTP GET /index.html"| HTML
    HTML -->|"200 OK"| Browser
    Browser -->|"HTTP GET /css/styles.css"| CSS
    CSS -->|"200 OK"| Browser
    Browser -->|"HTTP GET /images/... "| Images
    Images -->|"200 OK"| Browser

    %% Caching Note
    Note["Note: CSS & images are cached with long-term headers"]:::pipeline
    CSS --> Note
    Images --> Note

    %% Click Events
    click GitRepo "https://github.com/jitinchekka/netflix-clone/blob/master/README.md"
    click HTML "https://github.com/jitinchekka/netflix-clone/blob/master/index.html"
    click CSS "https://github.com/jitinchekka/netflix-clone/blob/master/css/styles.css"
    click Images "https://github.com/jitinchekka/netflix-clone/tree/master/images/"

    %% Styles
    classDef client fill:#D6EAF8,stroke:#1B4F72,color:#1B4F72,stroke-width:2px;
    classDef server fill:#D5F5E3,stroke:#145A32,color:#145A32,stroke-width:2px;
    classDef asset fill:#FCF3CF,stroke:#B7950B,color:#B7950B,stroke-width:2px;
    classDef pipeline fill:#EBDEF0,stroke:#7D3C98,color:#7D3C98,stroke-width:2px;
```
