# wpmanageninja/fluent-boards-dev-doc architecture

> Architecture diagram of the GitHub repository wpmanageninja/fluent-boards-dev-doc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wpmanageninja/fluent-boards-dev-doc
- Repository: https://github.com/wpmanageninja/fluent-boards-dev-doc

## Overview

##### Main Components

A. Documentation Platform Layer
- VitePress/VuePress Engine
- Vue Components Structure
- Static Site Generator

B. Core System Components (to document)
- Board Management System
- Task Management System
- User Management System
- Webhook System
- Database Layer

**┌─ Documentation Platform ─────────────────────┐**
- ┌─ VitePress Engine ┐ ┌─ Vue Components ┐   │
- ExplainBlock  │   │
- Layout        │   │
- Footer        │   │
- ┘ └────────────────┘   │
- ┌─ Content Structure ────────────────────┐  │
- Getting Started                      │  │
- Database Models                      │  │
- Hooks & Extensions                   │  │
- Global Functions                     │  │
- ┘│
- ┘

**┌─ FluentBoards Core System ──────────────────┐**
- ┌─ Frontend ─┐ ┌─ API Layer ┐ ┌─ Database ┐ │
- Dashboard  │ │ REST API   │ │ Models:   │ │
- Boards     │ │ Extensions │ │ - Board   │ │
- Tasks      │ │           │ │ - Task    │ │
- ┘ └───────────┘ │ - User    │ │
- ┘ │
- ┌─ Modules ──┐ ┌─ Hooks ───┐            │
- Board      │ │ Actions   │            │
- Stage      │ │ Filters   │            │
- Task       │ │           │            │
- ┘ └───────────┘            │
- ┘

##### Important Elements to Highlight

A. Documentation Structure:
- Relationship between different documentation sections
- Navigation structure
- Content organization

B. Core System Features:
- Database Models and Relationships
- API Extension Points
- Hook System (Actions & Filters)
- Module System

##### Connection Points
- How the documentation platform interfaces with the core system
- API endpoints and their documentation
- Demonstrate webhook integration points

**→ Data Flow**
**⇢ Extension Point**
**● Component**
**□ Module**
**◇ Hook**

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph DocPlatform["Documentation Platform"]
        VitePress["VitePress/VuePress Engine"]
        VueComp["Vue Components System"]
        Layout["Layout Components"]
        
        VitePress --> VueComp
        VitePress --> Layout
    end

    subgraph CoreSystem["Core System Architecture"]
        subgraph ModuleLayer["Module Layer"]
            BoardMgmt["Board Management"]
            TaskMgmt["Task Management"]
            StageMgmt["Stage Management"]
            UserMgmt["User Management"]
        end

        subgraph DBLayer["Database Layer"]
            Models["Database Models"]
            QueryBuilder["Query Builder"]
            
            Board["Board Model"]
            Task["Task Model"]
            User["User Model"]
            Team["Team Model"]
            Stage["Stage Model"]
            Webhook["Webhook Model"]
            
            Models --> Board
            Models --> Task
            Models --> User
            Models --> Team
            Models --> Stage
            Models --> Webhook
        end

        subgraph ExtensionSystem["Extension System"]
            Hooks["Hook System"]
            Actions["Actions"]
            Filters["Filters"]
            WebhookSystem["Webhook System"]
            
            Hooks --> Actions
            Hooks --> Filters
            Filters --> WebhookSystem
        end

        subgraph UtilityLayer["Utility Layer"]
            GlobalFuncs["Global Functions"]
            Helpers["Helpers System"]
        end
    end

    ModuleLayer --> DBLayer
    ModuleLayer --> ExtensionSystem
    ModuleLayer --> UtilityLayer

    %% Click Events
    click VitePress "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//.vitepress"
    click VueComp "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/.vuepress/components"
    click Layout "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/.vuepress/layout"
    click BoardMgmt "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/modules/boards.md"
    click TaskMgmt "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/modules/tasks.md"
    click StageMgmt "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/modules/stages.md"
    click Models "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/database/models"
    click QueryBuilder "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/query-builder.md"
    click Board "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/models/board.md"
    click Task "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/models/task.md"
    click User "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/models/user.md"
    click Team "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/models/team.md"
    click Stage "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/models/stage.md"
    click Webhook "https://github.com/WPManageNinja/fluent-boards-dev-doc/blob/master//src/database/models/webhook.md"
    click Actions "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/hooks/actions"
    click Filters "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/hooks/filters"
    click GlobalFuncs "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/global-functions"
    click Helpers "https://github.com/WPManageNinja/fluent-boards-dev-doc/tree/master//src/helpers"

    %% Styling
    classDef platform fill:#e1f5fe,stroke:#01579b
    classDef module fill:#e8f5e9,stroke:#2e7d32
    classDef database fill:#fff3e0,stroke:#ff6f00
    classDef extension fill:#f3e5f5,stroke:#7b1fa2
    classDef utility fill:#fce4ec,stroke:#c2185b

    class DocPlatform,VitePress,VueComp,Layout platform
    class ModuleLayer,BoardMgmt,TaskMgmt,StageMgmt,UserMgmt module
    class DBLayer,Models,QueryBuilder,Board,Task,User,Team,Stage,Webhook database
    class ExtensionSystem,Hooks,Actions,Filters,WebhookSystem extension
    class UtilityLayer,GlobalFuncs,Helpers utility
```
