# qsheker/ashana-hub architecture

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

- Interactive diagram: https://gitdiagram.com/qsheker/ashana-hub
- Repository: https://github.com/qsheker/ashana-hub

## Overview

##### Project type and purpose
- This is a front-end web project (“Ashana Hub”) for a cafeteria/food hub, built as a static multi-page website using HTML, CSS, and images.
- The README confirms it is a team project for a Web Technologies (Front-End) course, with features for viewing menus, promotions, placing orders, and profile management.

##### File structure
- Top-level HTML pages: auth.html, cart.html, discounts.html, index.html, main.html, menu.html, profile.html, team.html
- Static assets: images/ (all pictures), styles/ (discounts.css, profile.css)
- Config/editor settings: .vscode/
- No back-end code in this repo—any server/API layer is external or out of scope.

##### README for additional insights
- Confirms front-end focus and basic user flows (menu display, promotions, order placement, profile).
- No mention of frameworks—plain HTML/CSS.

##### Additional recommendations
- Asset folders (styles/, images/) as separate resource containers.
- Call out any CI/CD or build steps if introduced later (e.g., bundling, minification).

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["Browser / User Agent"]:::external
    Host["Static Site Host"]:::service

    subgraph "UI Layer"
        Home["Home Page (index.html)"]:::frontend
        Menu["Menu Page (menu.html)"]:::frontend
        Cart["Cart Page (cart.html)"]:::frontend
        Discounts["Discounts Page (discounts.html)"]:::frontend
        Auth["Authentication Page (auth.html)"]:::frontend
        Profile["Profile Page (profile.html)"]:::frontend
        Team["Team Info Page (team.html)"]:::frontend
        Main["Main Dashboard (main.html)"]:::frontend
    end

    subgraph "Assets"
        Styles["Stylesheets Directory"]:::asset
        DiscountsCSS["Discounts Styles (styles/discounts.css)"]:::asset
        ProfileCSS["Profile Styles (styles/profile.css)"]:::asset
        Images["Image Assets Directory"]:::asset
    end

    subgraph "Other Resources"
        VSCode["Editor Configuration (.vscode/)"]:::asset
        README["Project Documentation (README.md)"]:::asset
    end

    subgraph "External API Services"
        AuthService["Auth Service API"]:::service
        OrderService["Order Service API"]:::service
        ProfileService["Profile Service API"]:::service
    end

    Browser -->|"GET HTML/CSS/Images"| Host
    Host --> Home
    Host --> Menu
    Host --> Cart
    Host --> Discounts
    Host --> Auth
    Host --> Profile
    Host --> Team
    Host --> Main
    Host --> Styles
    Host --> DiscountsCSS
    Host --> ProfileCSS
    Host --> Images
    Host --> VSCode
    Host --> README

    Browser -->|"POST /login"| AuthService
    Browser -->|"POST /orders"| OrderService
    Browser -->|"GET/POST profile"| ProfileService

    click Home "https://github.com/qsheker/ashana-hub/blob/main/index.html"
    click Menu "https://github.com/qsheker/ashana-hub/blob/main/menu.html"
    click Cart "https://github.com/qsheker/ashana-hub/blob/main/cart.html"
    click Discounts "https://github.com/qsheker/ashana-hub/blob/main/discounts.html"
    click Auth "https://github.com/qsheker/ashana-hub/blob/main/auth.html"
    click Profile "https://github.com/qsheker/ashana-hub/blob/main/profile.html"
    click Team "https://github.com/qsheker/ashana-hub/blob/main/team.html"
    click Main "https://github.com/qsheker/ashana-hub/blob/main/main.html"
    click Styles "https://github.com/qsheker/ashana-hub/tree/main/styles/"
    click DiscountsCSS "https://github.com/qsheker/ashana-hub/blob/main/styles/discounts.css"
    click ProfileCSS "https://github.com/qsheker/ashana-hub/blob/main/styles/profile.css"
    click Images "https://github.com/qsheker/ashana-hub/tree/main/images/"
    click VSCode "https://github.com/qsheker/ashana-hub/tree/main/.vscode/"
    click README "https://github.com/qsheker/ashana-hub/blob/main/README.md"

    classDef frontend fill:#f9f,stroke:#333,stroke-width:1px
    classDef asset fill:#ff9,stroke:#333,stroke-width:1px
    classDef service fill:#9f9,stroke:#333,stroke-width:1px
    classDef external fill:#99f,stroke:#333,stroke-width:1px
```
