# codedthemes/datta-able-bootstrap-dashboard architecture

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

- Interactive diagram: https://gitdiagram.com/codedthemes/datta-able-bootstrap-dashboard
- Repository: https://github.com/codedthemes/datta-able-bootstrap-dashboard

## Overview

##### Project type and purpose
- This is a static, full‐front-end Bootstrap 5 Admin Template (“Datta Able Free”), delivered as source in `src/` and as a distributable bundle in `dist/`.
- It provides UI components, layouts, and sample pages, built with SCSS, HTML partials, and vanilla JS, assembled via Gulp.

##### File structure
- Top‐level directories:
- `.github/` – CI/workflow configs (deploy, test)
- `src/` – source assets:
– `assets/` (fonts, images, JS, JSON, SCSS)
– `html/` (template partials, pages organized by area: admin, dashboard, forms, etc.)
- `dist/` – built output: flattened CSS, JS, HTML pages, `assets/` bundle
- Root files: `gulpfile.js`, `package.json`, `README.md`, license, CI config.
- Gulp tasks likely compile SCSS → CSS, bundle/minify JS, inject HTML layouts, copy fonts/images, watch for changes.

##### README for additional insights
- Tech stack: Bootstrap 5, no jQuery, Node/npm, Gulp.
- Usage: `npm i` → `gulp` serves dev or builds production into `dist/`.
- No backend – purely static, ready to drop into any web server.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Source Layer
    subgraph "Source Layer"
        SCSS["SCSS Modules"]:::source
        JS["JavaScript Modules"]:::source
        HTML["HTML Partials & Pages"]:::source
        FontAssets["Font Assets"]:::source
        ImageAssets["Image Assets"]:::source
        JSONSrc["JSON Assets"]:::source
    end

    %% Build Layer
    subgraph "Build Layer"
        NPM["npm Dependencies & Scripts"]:::build
        Gulp["Gulp Tasks"]:::build
        CI["CI/Workflow Config"]:::build
    end

    %% Output Layer
    subgraph "Output Layer"
        CSS["Compiled CSS"]:::output
        JSOut["Bundled/Minified JS"]:::output
        HTMLOut["Generated HTML Pages"]:::output
        FontOut["Copied Font Assets"]:::output
        ImageOut["Copied Image Assets"]:::output
        JSONOut["JSON Assets"]:::output
    end

    %% Hosting / Deployment
    subgraph "Hosting / Deployment"
        CDN["Static Web Server / CDN"]:::host
        Browser["End User Browser"]:::host
    end

    %% Source to Build
    SCSS -->|compile SCSS| Gulp
    JS -->|bundle JS| Gulp
    HTML -->|inject HTML templates| Gulp
    FontAssets -->|copy fonts| Gulp
    ImageAssets -->|copy images| Gulp
    JSONSrc -->|copy JSON| Gulp

    NPM -->|provides plugins| Gulp
    CI

    %% Build to Output
    Gulp -->|emit CSS| CSS
    Gulp -->|emit JS| JSOut
    Gulp -->|emit HTML| HTMLOut
    Gulp -->|emit fonts| FontOut
    Gulp -->|emit images| ImageOut
    Gulp -->|emit JSON| JSONOut

    %% Deployment
    CSS --> CDN
    JSOut --> CDN
    HTMLOut --> CDN
    FontOut --> CDN
    ImageOut --> CDN
    JSONOut --> CDN
    CDN -->|serves assets| Browser

    %% Click Events
    click SCSS "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/src/assets/scss/"
    click JS "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/src/assets/js/"
    click HTML "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/src/html/"
    click FontAssets "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/src/assets/fonts/"
    click ImageAssets "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/src/assets/images/"
    click Gulp "https://github.com/codedthemes/datta-able-bootstrap-dashboard/blob/master/gulpfile.js"
    click NPM "https://github.com/codedthemes/datta-able-bootstrap-dashboard/blob/master/package.json"
    click CSS "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/dist/assets/css/"
    click JSOut "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/dist/assets/js/"
    click HTMLOut "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/dist/"
    click FontOut "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/dist/assets/fonts/"
    click ImageOut "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/dist/assets/images/"
    click JSONOut "https://github.com/codedthemes/datta-able-bootstrap-dashboard/tree/master/dist/assets/json/"
    click CI "https://github.com/codedthemes/datta-able-bootstrap-dashboard/blob/master/.github/workflows/prod.yml"

    %% Styles
    classDef source fill:#dae8fc,stroke:#6c8ebf,color:#000;
    classDef build fill:#d5e8d4,stroke:#82b366,color:#000;
    classDef output fill:#ffe6cc,stroke:#d79b00,color:#000;
    classDef host fill:#e1d5e7,stroke:#9673a6,color:#000;
```
