# akashbarath/bliss-bundle architecture

> Architecture diagram of the GitHub repository akashbarath/bliss-bundle, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/akashbarath/bliss-bundle
- Repository: https://github.com/akashbarath/bliss-bundle

## Overview

Modesy is a multi-vendor marketplace application built on CodeIgniter. A visitor enters through the web front controller, which boots the framework and routes requests into marketplace controllers; those controllers assemble page or transaction data from models. The visible capabilities include product browsing, seller operations, membership plans, order handling, administration, and blogging. The excerpts show representative controller/model behavior, but not the full checkout or payment flow, so those relationships are not inferred. The README is empty; several subsystems are represented from the file tree and SOURCE INDEX only.

Main entry points: [`public_html/app/Controllers/DashboardController.php`](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/DashboardController.php) (Seller dashboard), [`public_html/system/CodeIgniter.php`](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/CodeIgniter.php) (CodeIgniter runtime), [`public_html/app/Controllers/HomeController.php`](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/HomeController.php) (Storefront), [`public_html/app/Config/Routes.php`](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/Routes.php) (Route definitions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Request handling"]
  node_front["Web entry<br/>[index.php]"]
  node_routes["Route definitions<br/>[Routes.php]"]
  node_staticroutes["Static routes<br/>[RoutesStatic.php]"]
end

subgraph group_market["Marketplace features"]
  node_home["Storefront<br/>[HomeController.php]"]
  node_dashboard["Seller dashboard"]
  node_products["Product catalog<br/>[ProductModel.php]"]
  node_files["File management<br/>[FileModel.php]"]
  node_location["Location data<br/>[LocationModel.php]"]
  node_blog["Blog publishing<br/>[BlogController.php]"]
end

subgraph group_commerce["Commerce and accounts"]
  node_cartmodel["Cart operations<br/>[CartModel.php]"]
  node_orders["Order processing<br/>[OrderModel.php]"]
  node_shipping["Shipping rules<br/>[ShippingModel.php]"]
  node_earnings["Seller earnings<br/>[EarningsModel.php]"]
  node_promotions["Product promotion<br/>[PromoteModel.php]"]
  node_membership["Membership plans"]
end

subgraph group_admin["Administration"]
  node_admin["Admin console"]
end

subgraph group_framework["Framework services"]
  node_runtime["CodeIgniter runtime<br/>[CodeIgniter.php]"]
  node_basecontroller["Shared controller setup<br/>[BaseController.php]"]
  node_appconfig["Application config<br/>[App.php]"]
  node_globals["Shared app globals<br/>[Globals.php]"]
  node_response["HTTP response contract"]
  node_logger["Logging contract"]
  node_cli["CLI commands<br/>[Commands.php]"]
end

node_visitor(("Visitor"))
node_database[("Application database")]

node_visitor -->|"sends request"| node_front
node_front -->|"boots"| node_runtime
node_runtime -->|"loads routes"| node_routes
node_routes -->|"routes to"| node_home
node_routes -->|"routes to"| node_admin
node_staticroutes -->|"routes to"| node_dashboard
node_staticroutes -->|"routes to"| node_blog
node_basecontroller -->|"extends"| node_runtime
node_home -->|"reads plans"| node_membership
node_home -->|"reads locations"| node_location
node_home -.->|"loads posts"| node_blog
node_dashboard -->|"uses"| node_cartmodel
node_dashboard -->|"uploads files"| node_files
node_dashboard -->|"uses"| node_shipping
node_dashboard -->|"promotes products"| node_promotions
node_dashboard -->|"exports products"| node_products
node_admin -->|"uses"| node_earnings
node_admin -->|"reads transactions"| node_membership
node_membership -->|"queries and updates"| node_database
node_runtime -->|"returns response"| node_response
node_appconfig -.->|"configures"| node_runtime

click node_front "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/index.php"
click node_runtime "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/CodeIgniter.php"
click node_routes "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/Routes.php"
click node_staticroutes "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/RoutesStatic.php"
click node_basecontroller "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/BaseController.php"
click node_home "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/HomeController.php"
click node_dashboard "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/DashboardController.php"
click node_products "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/ProductModel.php"
click node_files "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/FileModel.php"
click node_cartmodel "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/CartModel.php"
click node_orders "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/OrderModel.php"
click node_shipping "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/ShippingModel.php"
click node_earnings "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/EarningsModel.php"
click node_promotions "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/PromoteModel.php"
click node_membership "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/MembershipModel.php"
click node_location "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/LocationModel.php"
click node_admin "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/AdminController.php"
click node_blog "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/BlogController.php"
click node_appconfig "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/App.php"
click node_globals "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/Globals.php"
click node_response "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/HTTP/ResponseInterface.php"
click node_logger "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/ThirdParty/PSR/Log/LoggerInterface.php"
click node_cli "https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/CLI/Commands.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_front,node_routes,node_staticroutes toneBlue
class node_home,node_dashboard,node_products,node_files,node_location,node_blog,node_database toneAmber
class node_cartmodel,node_orders,node_shipping,node_earnings,node_promotions,node_membership toneMint
class node_admin toneRose
class node_runtime,node_basecontroller,node_appconfig,node_globals,node_response,node_logger,node_cli,node_visitor toneIndigo
```

## Components

### Request handling

- [Web entry](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/index.php): `public_html/index.php`
- [Route definitions](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/Routes.php): `public_html/app/Config/Routes.php`
- [Static routes](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/RoutesStatic.php): `public_html/app/Config/RoutesStatic.php`

### Marketplace features

- [Storefront](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/HomeController.php): `public_html/app/Controllers/HomeController.php`
- [Seller dashboard](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/DashboardController.php): `public_html/app/Controllers/DashboardController.php`
- [Product catalog](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/ProductModel.php): `public_html/app/Models/ProductModel.php`
- [File management](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/FileModel.php): `public_html/app/Models/FileModel.php`
- [Location data](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/LocationModel.php): `public_html/app/Models/LocationModel.php`
- [Blog publishing](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/BlogController.php): `public_html/app/Controllers/BlogController.php`

### Commerce and accounts

- [Cart operations](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/CartModel.php): `public_html/app/Models/CartModel.php`
- [Order processing](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/OrderModel.php): `public_html/app/Models/OrderModel.php`
- [Shipping rules](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/ShippingModel.php): `public_html/app/Models/ShippingModel.php`
- [Seller earnings](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/EarningsModel.php): `public_html/app/Models/EarningsModel.php`
- [Product promotion](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/PromoteModel.php): `public_html/app/Models/PromoteModel.php`
- [Membership plans](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Models/MembershipModel.php): `public_html/app/Models/MembershipModel.php`

### Administration

- [Admin console](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/AdminController.php): `public_html/app/Controllers/AdminController.php`

### Framework services

- [CodeIgniter runtime](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/CodeIgniter.php): `public_html/system/CodeIgniter.php`
- [Shared controller setup](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Controllers/BaseController.php): `public_html/app/Controllers/BaseController.php`
- [Application config](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/App.php): `public_html/app/Config/App.php`
- [Shared app globals](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/app/Config/Globals.php): `public_html/app/Config/Globals.php`
- [HTTP response contract](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/HTTP/ResponseInterface.php): `public_html/system/HTTP/ResponseInterface.php`
- [Logging contract](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/ThirdParty/PSR/Log/LoggerInterface.php): `public_html/system/ThirdParty/PSR/Log/LoggerInterface.php`
- [CLI commands](https://github.com/akashbarath/bliss-bundle/blob/main/public_html/system/CLI/Commands.php): `public_html/system/CLI/Commands.php`

### Other components

- **Visitor**
- **Application database**

## Connections

- Visitor → Web entry: sends request (evidence: `public_html/index.php`)
- Web entry → CodeIgniter runtime: boots (evidence: `public_html/index.php`)
- CodeIgniter runtime → Route definitions: loads routes (evidence: `public_html/app/Config/Routes.php`)
- Route definitions → Storefront: routes to (evidence: `public_html/app/Config/Routes.php`)
- Route definitions → Admin console: routes to (evidence: `public_html/app/Config/Routes.php`)
- Static routes → Seller dashboard: routes to (evidence: `public_html/app/Config/RoutesStatic.php`)
- Static routes → Blog publishing: routes to (evidence: `public_html/app/Config/RoutesStatic.php`)
- Shared controller setup → CodeIgniter runtime: extends (evidence: `public_html/app/Controllers/BaseController.php`)
- Storefront → Membership plans: reads plans (evidence: `public_html/app/Controllers/HomeController.php`)
- Storefront → Location data: reads locations (evidence: `public_html/app/Controllers/HomeController.php`)
- Storefront → Blog publishing: loads posts
- Seller dashboard → Cart operations: uses (evidence: `public_html/app/Controllers/DashboardController.php`)
- Seller dashboard → File management: uploads files (evidence: `public_html/app/Controllers/DashboardController.php`)
- Seller dashboard → Shipping rules: uses (evidence: `public_html/app/Controllers/DashboardController.php`)
- Seller dashboard → Product promotion: promotes products (evidence: `public_html/app/Controllers/DashboardController.php`)
- Seller dashboard → Product catalog: exports products (evidence: `public_html/app/Controllers/DashboardController.php`)
- Admin console → Seller earnings: uses (evidence: `public_html/app/Controllers/AdminController.php`)
- Admin console → Membership plans: reads transactions (evidence: `public_html/app/Controllers/AdminController.php`)
- Membership plans → Application database: queries and updates (evidence: `public_html/app/Models/MembershipModel.php`)
- CodeIgniter runtime → HTTP response contract: returns response (evidence: `public_html/system/CodeIgniter.php`)
- Application config → CodeIgniter runtime: configures (evidence: `public_html/app/Config/App.php`)
