# asyf16/intellibin architecture

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

- Interactive diagram: https://gitdiagram.com/asyf16/intellibin
- Repository: https://github.com/asyf16/intellibin

## Overview

No explanation provided

## Diagram (Mermaid)

```mermaid
graph TB
    classDef frontend fill:#3498db,stroke:#2980b9,color:white
    classDef backend fill:#2ecc71,stroke:#27ae60,color:white
    classDef external fill:#f1c40f,stroke:#f39c12,color:black
    classDef hardware fill:#e74c3c,stroke:#c0392b,color:white
    classDef database fill:#9b59b6,stroke:#8e44ad,color:white

    subgraph UI["User Interface Layer"]
        React["React Frontend"]:::frontend
        Auth["User Authentication"]:::frontend
        Profile["Profile Management"]:::frontend
        Stats["Statistics Dashboard"]:::frontend
        Shop["Shop System"]:::frontend
        Info["Information Pages"]:::frontend
    end

    subgraph AL["Application Layer"]
        Store["Store Management"]:::frontend
        Nav["Navigation"]:::frontend
        Board["Dashboard Board"]:::frontend
        Item["Item Management"]:::frontend
        Card["Card Components"]:::frontend
    end

    subgraph SL["Services Layer"]
        Backend["Backend Services"]:::backend
        UserAPI["User Management API"]:::backend
        AuthService["Authentication Service"]:::backend
        StatsService["Statistics Service"]:::backend
        MongoDB[(MongoDB Database)]:::database
        Vision["Google Cloud Vision API"]:::external
    end

    subgraph HL["Hardware Layer"]
        Arduino["Arduino Controller"]:::hardware
        Servo["Servo Motor"]:::hardware
        LED["LED System"]:::hardware
        Camera["Camera Input"]:::hardware
    end

    %% Connections
    React --> Auth
    React --> Profile
    React --> Stats
    React --> Shop
    React --> Info
    
    Auth --> AuthService
    Profile --> UserAPI
    Stats --> StatsService
    
    Backend --> MongoDB
    Camera --> Vision
    Vision --> Backend
    Backend --> Arduino
    Arduino --> Servo
    Arduino --> LED

    %% Click events
    click React "https://github.com/username/repo/blob/branch/client/src/App.js"
    click Auth "https://github.com/username/repo/blob/branch/client/src/components/pages/Login.js"
    click Profile "https://github.com/username/repo/blob/branch/client/src/components/pages/Profile.js"
    click Stats "https://github.com/username/repo/blob/branch/client/src/components/Stats.js"
    click Shop "https://github.com/username/repo/blob/branch/client/src/components/pages/Shop.js"
    click Info "https://github.com/username/repo/blob/branch/client/src/components/pages/Info.js"
    click Store "https://github.com/username/repo/blob/branch/client/src/Store.js"
    click Nav "https://github.com/username/repo/blob/branch/client/src/components/Nav.js"
    click Board "https://github.com/username/repo/blob/branch/client/src/components/Board.js"
    click Item "https://github.com/username/repo/blob/branch/client/src/components/Item.js"
    click Card "https://github.com/username/repo/blob/branch/client/src/components/Card.js"
    click Backend "https://github.com/username/repo/blob/branch/server/index.js"
    click UserAPI "https://github.com/username/repo/blob/branch/server/models/user.model.js"
    click Arduino "https://github.com/username/repo/blob/branch/sketch_jan13a.ino"

    %% Legend
    subgraph Legend
        Frontend["Frontend Component"]:::frontend
        BackendL["Backend Component"]:::backend
        ExternalL["External Service"]:::external
        HardwareL["Hardware Component"]:::hardware
        DatabaseL["Database"]:::database
    end
```
