# khairulhasanrakib/web-application architecture

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

- Interactive diagram: https://gitdiagram.com/khairulhasanrakib/web-application
- Repository: https://github.com/khairulhasanrakib/web-application

## Overview

##### Project type and purpose
- This is a purely front-end, static web application. It consists of multiple independent HTML “tools” (Calculator, password cracker, generator, setter, chart pages) delivered as static files. There is no backend or database—everything runs in the browser.

##### File structure
- Top-level files:
- index.html – the landing page or navigation hub.
- chart.html, chart2.html – standalone chart demo pages.
- crack.html, pass.html – additional tool pages.
- Calculator directory:
- index.html – calculator UI.
- script.js – all calculator logic.
- style.css – calculator styles.
- Tools directory:
- cracker.html, generator.html, setter.html – discrete tool UIs.
- No server‐side code or configuration: this is a static site likely served by any HTTP server or GitHub Pages.

##### README
- Confirms this is a GitHub‐hosted project with multiple commits. No architectural notes beyond version control workflow.

##### Elements
- Clear labels: “Browser,” “Static Server/CDN,” “GitHub Repo,” “Calculator Module,” “Tools Module,” “Charts Module.”
- Browser → Server (HTTP GET request)
- Server → Browser (serves HTML/CSS/JS)
- GitHub Repo → Static Server (deployment)
- Another for infrastructure (Server/CDN)
- A third for development workflow (GitHub Repo)

##### Final guidance
- Entirely client-side flow—there is no API or database.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["Browser"]:::client
    Server["Static Server/CDN"]:::infra
    Repo["GitHub Repo"]:::dev

    subgraph "Calculator Module"
        CalcHTML["index.html"]:::module
        CalcJS["script.js"]:::module
        CalcCSS["style.css"]:::module
    end

    subgraph "Tools Module"
        Cracker["cracker.html"]:::module
        Generator["generator.html"]:::module
        Setter["setter.html"]:::module
    end

    subgraph "Charts Module"
        Chart1["chart.html"]:::module
        Chart2["chart2.html"]:::module
    end

    subgraph "Utility Pages Module"
        Crack["crack.html"]:::module
        Pass["pass.html"]:::module
    end

    Landing["index.html"]:::module

    Repo -->|"deploys to"| Server
    Browser -->|"HTTP GET request"| Server
    Server -->|"serves HTML/CSS/JS"| Browser

    Browser -->|"loads Calculator"| CalcHTML
    Browser -->|"loads Tools"| Cracker
    Browser -->|"loads Tools"| Generator
    Browser -->|"loads Tools"| Setter
    Browser -->|"loads Charts"| Chart1
    Browser -->|"loads Charts"| Chart2
    Browser -->|"loads Utility Pages"| Crack
    Browser -->|"loads Utility Pages"| Pass
    Browser -->|"loads Landing Page"| Landing

    click CalcHTML "https://github.com/khairulhasanrakib/web-application/blob/main/Calculator/index.html"
    click CalcJS "https://github.com/khairulhasanrakib/web-application/blob/main/Calculator/script.js"
    click CalcCSS "https://github.com/khairulhasanrakib/web-application/blob/main/Calculator/style.css"
    click Cracker "https://github.com/khairulhasanrakib/web-application/blob/main/Tools/cracker.html"
    click Generator "https://github.com/khairulhasanrakib/web-application/blob/main/Tools/generator.html"
    click Setter "https://github.com/khairulhasanrakib/web-application/blob/main/Tools/setter.html"
    click Chart1 "https://github.com/khairulhasanrakib/web-application/blob/main/chart.html"
    click Chart2 "https://github.com/khairulhasanrakib/web-application/blob/main/chart2.html"
    click Crack "https://github.com/khairulhasanrakib/web-application/blob/main/crack.html"
    click Pass "https://github.com/khairulhasanrakib/web-application/blob/main/pass.html"
    click Landing "https://github.com/khairulhasanrakib/web-application/blob/main/index.html"
    click Repo "https://github.com/khairulhasanrakib/web-application/blob/main/README.md"

    classDef client fill:#D0E8FF,stroke:#0366d6,color:#0366d6;
    classDef infra fill:#DFF5D0,stroke:#28a745,color:#28a745;
    classDef dev fill:#FFF4D0,stroke:#f66a0a,color:#f66a0a;
    classDef module fill:#F0F0F0,stroke:#888888,color:#333333;
```
