# trivedikavya/blackmark architecture

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

- Interactive diagram: https://gitdiagram.com/trivedikavya/blackmark
- Repository: https://github.com/trivedikavya/blackmark

## Overview

##### Project type and purpose
- This is a purely front-end, static website (a landing page) for “BlackMark Digital Bank,” built with HTML5, Bootstrap 4.6, Font Awesome, and custom CSS.
- There is no backend code in the repository; it delivers static assets (HTML, CSS, video).

##### File structure
- Top-level files:
- README.md – project overview and tech stack
- index.html – the single-page entry point
- style.css – custom CSS overrides
- resource/1.mp4 – a video asset used by the page
- No server-side code, no build scripts, no database or API.

##### README for additional insights
- Describes features (transaction UI, 24/7 access) that in a full product would rely on a backend, but here are placeholder/interface elements only.

a. Main components
- Client (Web Browser)
- Static Web Server (or CDN) hosting the HTML, CSS, video
- (Optional) Third-party services: Bootstrap CDN, Font Awesome CDN
b. Relationships & interactions
- Browser requests index.html → Server/CDN
- Browser parses HTML → fetches style.css, video (1.mp4), and any CDN-hosted assets
- Browser renders UI, plays video
c. Architectural patterns & principles
- Single-Page Static Site
- Content Delivery via CDN or static hosting (e.g., Netlify, GitHub Pages)
- Client-side rendering only
d. Key technologies
- HTML5 (structure)
- Bootstrap 4.6 (grid, components)
- CSS (style.css overrides)
- MP4 video asset

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Client Layer
    subgraph "Client Layer"
        BROWSER["Client (Web Browser)"]:::browser
        CACHE["Browser Cache"]:::cache
    end

    %% Static Hosting
    subgraph "Static Web Server / CDN" 
        SERVER["Static Web Server"]:::server
        Index["index.html"]:::file
        Style["style.css"]:::file
        ResourceDir["resource/"]:::directory
    end

    %% Video Storage
    Video["1.mp4"]:::storage

    %% External CDNs
    subgraph "External CDNs"
        Bootstrap["Bootstrap CDN"]:::cdn
        FontAwesome["Font Awesome CDN"]:::cdn
    end

    %% Future Extension (dashed)
    subgraph "Future Extension" 
        APIGateway["API Gateway"]:::future
        AuthService["Authentication Service"]:::future
        CoreBank["Core Banking Service"]:::future
        DB["Database"]:::future
    end

    %% Connections
    BROWSER -->|"GET index.html"| SERVER
    SERVER -->|serves HTML| Index
    BROWSER -->|"GET index.html (cache?)"| CACHE
    BROWSER -->|"GET style.css"| SERVER
    SERVER -->|serves CSS| Style
    BROWSER -->|"GET style.css (cache?)"| CACHE

    BROWSER -->|"GET 1.mp4"| ResourceDir
    ResourceDir -->|serves MP4| Video
    BROWSER -->|"GET video (cache?)"| CACHE

    BROWSER -->|"GET CSS/JS"| Bootstrap
    BROWSER -->|"GET fonts/icons"| FontAwesome

    %% Future dashed connections
    BROWSER -.->|"placeholders"| APIGateway
    APIGateway --> AuthService
    AuthService --> CoreBank
    CoreBank --> DB

    %% Click Events
    click Index "https://github.com/trivedikavya/blackmark/blob/main/index.html"
    click Style "https://github.com/trivedikavya/blackmark/blob/main/style.css"
    click ResourceDir "https://github.com/trivedikavya/blackmark/tree/main/resource/"
    click Video "https://github.com/trivedikavya/blackmark/blob/main/resource/1.mp4"
    click README "https://github.com/trivedikavya/blackmark/blob/main/README.md"

    %% Styles
    classDef browser fill:#f9f,stroke:#333,stroke-width:1px
    classDef server fill:#bbf,stroke:#333,stroke-width:1px
    classDef file fill:#eef,stroke:#333,stroke-width:1px
    classDef directory fill:#def,stroke:#333,stroke-width:1px
    classDef storage fill:#bfb,stroke:#333,stroke-width:1px
    classDef cdn fill:#fea,stroke:#333,stroke-width:1px
    classDef cache fill:#ffd,stroke:#333,stroke-width:1px
    classDef future fill:#fff,stroke-dasharray: 5 5,stroke:#999,stroke-width:1px
```
