# 15-nishi/zerodha-clone architecture

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

- Interactive diagram: https://gitdiagram.com/15-nishi/zerodha-clone
- Repository: https://github.com/15-nishi/zerodha-clone

## Overview

##### Project type and purpose
- There is no backend code, no build scripts or server-side logic—this is purely a front-end UI clone.

##### File structure
- Top-level files:
- index.html – the root HTML document
- index.css – global styling for the site
- README.md – project title and any high-level notes
- No src/ or js/ directories, no server or API code.

##### README for additional insights
- The README only contains the project name “zerodha-clone.”
- There are no sections on architecture, dependencies, or features.

##### Elements
1. Code push from Developer → Repo
2. Deploy action from Repo → CDN / Static Host
3. HTTP GETs from Browser → CDN
4. Asset fetches for CSS and images
5. (Optional) External third-party calls
- Rectangles for compute/workflow (CI/CD)
- Clouds for CDN or Internet

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Developer Workstation
    Developer["Developer Workstation"]:::developer

    %% Git Repository with files
    subgraph "Git Repository"
        direction TB
        RepoStorage(("Git Repository")):::storage
        IndexHTML["index.html"]:::file
        IndexCSS["index.css"]:::file
        AssetsDir["assets/"]:::file
        Readme["README.md"]:::file
    end

    %% CI/CD Pipeline
    CICD["CI/CD Pipeline"]:::compute

    %% CDN / Static Host
    CDN["CDN / Static Host"]:::cloud

    %% End-user Browser
    Browser["End-user Browser"]:::browser

    %% External Services
    External["External Services (Fonts, Analytics)"]:::external

    %% Connections
    Developer -->|"git push"| RepoStorage
    RepoStorage -->|"trigger deploy"| CICD
    CICD -->|"deploy static files"| CDN
    Browser -->|"HTTPS GET /"| CDN
    CDN -->|"serves index.html"| Browser
    Browser -->|"GET index.css"| CDN
    Browser -->|"GET assets/... "| CDN
    Browser -->|"calls APIs"| External

    %% Click Events
    click IndexHTML "https://github.com/15-nishi/zerodha-clone/blob/main/index.html"
    click IndexCSS "https://github.com/15-nishi/zerodha-clone/blob/main/index.css"
    click AssetsDir "https://github.com/15-nishi/zerodha-clone/tree/main/assets/"
    click Readme "https://github.com/15-nishi/zerodha-clone/blob/main/README.md"

    %% Styling
    classDef developer fill:#e1f5fe,stroke:#03a9f4,color:#000;
    classDef storage fill:#fff59d,stroke:#fbc02d,color:#000,stroke-dasharray: 5 5;
    classDef compute fill:#c8e6c9,stroke:#388e3c,color:#000;
    classDef cloud fill:#b3e5fc,stroke:#1976d2,color:#000;
    classDef browser fill:#ffccbc,stroke:#e64a19,color:#000;
    classDef external fill:#d1c4e9,stroke:#7e57c2,color:#000;
    classDef file fill:#ffffff,stroke:#9e9e9e,color:#000,stroke-dasharray: 2 2;
```
