# urkopibeans/clay-and-stuff architecture

> Architecture diagram of the GitHub repository urkopibeans/clay-and-stuff, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/urkopibeans/clay-and-stuff
- Repository: https://github.com/urkopibeans/clay-and-stuff

## Overview

Figurify is a custom-clay commission storefront and order-management application. Customers discover products, configure a commission, and use customer order pages for payment, progress responses, and reviews; staff and owners manage quotations, production, and shipment. The tree also shows account, collection, content, notification, reporting, and legal features. The README is empty and most source was not sampled, so several subsystem relationships are not drawn; the workflow reflects available page names and the limited explicit source evidence.

Main entry points: [`my-order/submit_review.php`](https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/submit_review.php) (Order review), [`staff/active-booking.php`](https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/active-booking.php) (Staff order desk), [`Commission/commission.php`](https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/commission.php) (Commission configurator), [`Home/Home.php`](https://github.com/urkopibeans/clay-and-stuff/blob/main/Home/Home.php) (Home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_storefront["Customer storefront"]
  node_home["Home<br/>[Home.php]"]
  node_collection["Collection<br/>[collection.php]"]
  node_profile["Profile<br/>[profile.php]"]
end

subgraph group_commission["Commission ordering"]
  node_commission_form["Commission configurator<br/>[commission.php]"]
  node_order_submit["Order submission<br/>[submit_order.php]"]
  node_summary["Order summary<br/>[finalsummary.php]"]
end

subgraph group_operations["Order operations"]
  node_my_orders["Customer orders<br/>[my-orders.php]"]
  node_customer_payment["Payment and shipping"]
  node_progress_response["Progress response"]
  node_review["Order review<br/>[submit_review.php]"]
  node_staff_orders["Staff order desk<br/>[active-booking.php]"]
  node_staff_quotes["Staff quotations<br/>[send_quotation.php]"]
  node_staff_progress["Staff progress updates"]
  node_staff_shipments["Staff shipments<br/>[shipments.php]"]
  node_owner_dashboard["Owner dashboard<br/>[ownerdashboard.php]"]
  node_owner_management["Owner management"]
end

subgraph group_platform["Accounts and platform"]
  node_login["Login and signup<br/>[Login.php]"]
  node_auth_modal["Authentication modal<br/>[auth-modal.php]"]
  node_database[("MySQL database<br/>[database.php]")]
  node_session["Session handling<br/>[session_helper.php]"]
  node_review_helper["Review helper<br/>[review_helper.php]"]
  node_notification["Notifications<br/>[notifications.php]"]
end

node_customer(("Customer"))
node_customer_email(("Customer"))

node_customer -->|"visits"| node_home
node_home -->|"links to"| node_commission_form
node_customer -->|"browses"| node_collection
node_customer -->|"manages account"| node_profile
node_customer -->|"configures commission"| node_commission_form
node_commission_form -->|"submits order"| node_order_submit
node_order_submit -->|"continues to"| node_summary
node_customer -->|"views orders"| node_my_orders
node_customer -->|"pays balance"| node_customer_payment
node_customer -->|"responds to update"| node_progress_response
node_customer -->|"submits review"| node_review
node_staff_orders -->|"manages quotation"| node_staff_quotes
node_staff_orders -->|"updates progress"| node_staff_progress
node_staff_orders -->|"manages shipment"| node_staff_shipments
node_owner_dashboard -->|"manages content"| node_owner_management
node_auth_modal -->|"fetches authentication"| node_login
node_review -->|"gets review data"| node_review_helper
node_review -->|"reads and writes"| node_database
node_review_helper -->|"queries orders and reviews"| node_database
node_customer_email -->|"opens review link"| node_review

click node_home "https://github.com/urkopibeans/clay-and-stuff/blob/main/Home/Home.php"
click node_collection "https://github.com/urkopibeans/clay-and-stuff/blob/main/Collection/collection.php"
click node_profile "https://github.com/urkopibeans/clay-and-stuff/blob/main/Profile/profile.php"
click node_commission_form "https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/commission.php"
click node_order_submit "https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/submit_order.php"
click node_summary "https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/finalsummary.php"
click node_my_orders "https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/my-orders.php"
click node_customer_payment "https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/payment-shipping.php"
click node_progress_response "https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/respond_progress.php"
click node_review "https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/submit_review.php"
click node_staff_orders "https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/active-booking.php"
click node_staff_quotes "https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/send_quotation.php"
click node_staff_progress "https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/send_progress_update.php"
click node_staff_shipments "https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/shipments.php"
click node_owner_dashboard "https://github.com/urkopibeans/clay-and-stuff/blob/main/owner/ownerdashboard.php"
click node_owner_management "https://github.com/urkopibeans/clay-and-stuff/blob/main/owner/content-management.php"
click node_login "https://github.com/urkopibeans/clay-and-stuff/blob/main/Login/Login.php"
click node_auth_modal "https://github.com/urkopibeans/clay-and-stuff/blob/main/Shared/auth-modal.php"
click node_database "https://github.com/urkopibeans/clay-and-stuff/blob/main/Admin/database.php"
click node_session "https://github.com/urkopibeans/clay-and-stuff/blob/main/helpers/session_helper.php"
click node_review_helper "https://github.com/urkopibeans/clay-and-stuff/blob/main/helpers/review_helper.php"
click node_notification "https://github.com/urkopibeans/clay-and-stuff/blob/main/Notification/notifications.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_home,node_collection,node_profile toneBlue
class node_commission_form,node_order_submit,node_summary toneAmber
class node_my_orders,node_customer_payment,node_progress_response,node_review,node_staff_orders,node_staff_quotes,node_staff_progress,node_staff_shipments,node_owner_dashboard,node_owner_management toneMint
class node_login,node_auth_modal,node_database,node_session,node_review_helper,node_notification toneRose
class node_customer,node_customer_email toneIndigo
```

## Components

### Customer storefront

- [Home](https://github.com/urkopibeans/clay-and-stuff/blob/main/Home/Home.php): `Home/Home.php`
- [Collection](https://github.com/urkopibeans/clay-and-stuff/blob/main/Collection/collection.php): `Collection/collection.php`
- [Profile](https://github.com/urkopibeans/clay-and-stuff/blob/main/Profile/profile.php): `Profile/profile.php`

### Commission ordering

- [Commission configurator](https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/commission.php): `Commission/commission.php`
- [Order submission](https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/submit_order.php): `Commission/submit_order.php`
- [Order summary](https://github.com/urkopibeans/clay-and-stuff/blob/main/Commission/finalsummary.php): `Commission/finalsummary.php`

### Order operations

- [Customer orders](https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/my-orders.php): `my-order/my-orders.php`
- [Payment and shipping](https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/payment-shipping.php): `my-order/payment-shipping.php`
- [Progress response](https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/respond_progress.php): `my-order/respond_progress.php`
- [Order review](https://github.com/urkopibeans/clay-and-stuff/blob/main/my-order/submit_review.php): `my-order/submit_review.php`
- [Staff order desk](https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/active-booking.php): `staff/active-booking.php`
- [Staff quotations](https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/send_quotation.php): `staff/send_quotation.php`
- [Staff progress updates](https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/send_progress_update.php): `staff/send_progress_update.php`
- [Staff shipments](https://github.com/urkopibeans/clay-and-stuff/blob/main/staff/shipments.php): `staff/shipments.php`
- [Owner dashboard](https://github.com/urkopibeans/clay-and-stuff/blob/main/owner/ownerdashboard.php): `owner/ownerdashboard.php`
- [Owner management](https://github.com/urkopibeans/clay-and-stuff/blob/main/owner/content-management.php): `owner/content-management.php`

### Accounts and platform

- [Login and signup](https://github.com/urkopibeans/clay-and-stuff/blob/main/Login/Login.php): `Login/Login.php`
- [Authentication modal](https://github.com/urkopibeans/clay-and-stuff/blob/main/Shared/auth-modal.php): `Shared/auth-modal.php`
- [MySQL database](https://github.com/urkopibeans/clay-and-stuff/blob/main/Admin/database.php): `Admin/database.php`
- [Session handling](https://github.com/urkopibeans/clay-and-stuff/blob/main/helpers/session_helper.php): `helpers/session_helper.php`
- [Review helper](https://github.com/urkopibeans/clay-and-stuff/blob/main/helpers/review_helper.php): `helpers/review_helper.php`
- [Notifications](https://github.com/urkopibeans/clay-and-stuff/blob/main/Notification/notifications.php): `Notification/notifications.php`

### Other components

- **Customer**
- **Customer**

## Connections

- Customer → Home: visits
- Home → Commission configurator: links to
- Customer → Collection: browses
- Customer → Profile: manages account
- Customer → Commission configurator: configures commission
- Commission configurator → Order submission: submits order
- Order submission → Order summary: continues to
- Customer → Customer orders: views orders
- Customer → Payment and shipping: pays balance
- Customer → Progress response: responds to update
- Customer → Order review: submits review
- Staff order desk → Staff quotations: manages quotation
- Staff order desk → Staff progress updates: updates progress
- Staff order desk → Staff shipments: manages shipment
- Owner dashboard → Owner management: manages content
- Authentication modal → Login and signup: fetches authentication
- Order review → Review helper: gets review data
- Order review → MySQL database: reads and writes
- Review helper → MySQL database: queries orders and reviews
- Customer → Order review: opens review link
