# chunchunmaru25/jeromeee architecture

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

- Interactive diagram: https://gitdiagram.com/chunchunmaru25/jeromeee
- Repository: https://github.com/chunchunmaru25/jeromeee

## Overview

Simeon is a Laravel furniture-commerce platform: shoppers browse/search products, use recommendations and optional AR visualization, then manage a cart and place orders; admins maintain catalog, inventory, and order state. The graph also captures account/guest activity and category management. Relationships are limited to cited routes, excerpts, or README statements; unsampled implementations are represented by their exact tree paths, with unverified wiring omitted.

Main entry points: [`app/Http/Controllers/Shop/ShopController.php`](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Shop/ShopController.php) (Browse and search), [`app/Http/Controllers/OrderController.php`](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/OrderController.php) (Order checkout), [`app/Http/Controllers/Users/Admin/InsertController.php`](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Users/Admin/InsertController.php) (Admin catalog tools), [`app/Models/UserEvent.php`](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/UserEvent.php) (Shopping activity)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shopping["Customer shopping"]
  node_browse["Browse and search<br/>[ShopController.php]"]
  node_search["Product search<br/>[ProductSearch.php]"]
end

subgraph group_commerce["Checkout and orders"]
  node_cart[("Shopping cart<br/>[Cart.php]")]
  node_checkout["Order checkout"]
  node_orders[("Orders and history<br/>[Order.php]")]
  node_order_details[("Order line items<br/>[Order_Details.php]")]
  node_order_history[("Archived orders<br/>[OrdersHistory.php]")]
  node_mailer["Email delivery<br/>[MailerService.php]"]
  node_admin_orders["Order administration"]
end

subgraph group_catalog["Catalog management"]
  node_products[("Product catalog<br/>[Product.php]")]
  node_categories[("Product categories<br/>[Category.php]")]
  node_category_options[("Category options<br/>[Products_Color.php]")]
  node_category_pivots[("Product options<br/>[Pivot_Color.php]")]
  node_admin_catalog["Admin catalog tools"]
end

subgraph group_identity["Accounts and activity"]
  node_events[("Shopping activity<br/>[UserEvent.php]")]
  node_register["Registration"]
  node_user[("User accounts<br/>[User.php]")]
  node_client[("Client accounts<br/>[Client.php]")]
  node_guest["Guest activity"]
end

subgraph group_platform["Recommendations and AR"]
  node_recommend["Hybrid recommendations"]
  node_ar["AR visualization<br/>[ArModel.js]"]
end

node_shopper(("Shopper"))

node_shopper -->|"browses"| node_browse
node_browse -->|"searches via"| node_search
node_browse -->|"requests results"| node_recommend
node_browse -->|"lists products"| node_products
node_recommend -->|"reads activity"| node_events
node_browse -.->|"tracks actions"| node_events
node_shopper -->|"views in AR"| node_ar
node_browse -.->|"adds items"| node_cart
node_shopper -->|"checks out"| node_checkout
node_checkout -->|"reads and clears"| node_cart
node_checkout -->|"creates orders"| node_orders
node_checkout -->|"creates details"| node_order_details
node_checkout -->|"sends notices"| node_mailer
node_admin_orders -->|"updates status"| node_orders
node_admin_orders -->|"archives orders"| node_order_history
node_admin_catalog -->|"maintains products"| node_products
node_admin_catalog -->|"maintains options"| node_category_options
node_admin_catalog -->|"updates assignments"| node_category_pivots
node_browse -.->|"filters categories"| node_categories
node_register -->|"creates account"| node_user
node_register -->|"creates client"| node_client
node_guest -.->|"identifies visitor"| node_events

click node_browse "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Shop/ShopController.php"
click node_search "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Services/ProductSearch.php"
click node_products "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Product.php"
click node_recommend "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Services/RecommendationService.php"
click node_events "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/UserEvent.php"
click node_categories "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Category.php"
click node_category_options "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Category/Section/Products_Color.php"
click node_category_pivots "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Category/Pivot/Pivot_Color.php"
click node_cart "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Cart.php"
click node_checkout "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/OrderController.php"
click node_orders "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Order.php"
click node_order_details "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Order_Details.php"
click node_order_history "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/OrdersHistory.php"
click node_mailer "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Services/MailerService.php"
click node_admin_catalog "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Users/Admin/InsertController.php"
click node_admin_orders "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/OrderController.php"
click node_register "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_user "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/User.php"
click node_client "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Client.php"
click node_guest "https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Middleware/EnsureGuestUserId.php"
click node_ar "https://github.com/chunchunmaru25/jeromeee/blob/main/public/js/ArModel.js"

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_browse,node_search toneBlue
class node_cart,node_checkout,node_orders,node_order_details,node_order_history,node_mailer,node_admin_orders toneAmber
class node_products,node_categories,node_category_options,node_category_pivots,node_admin_catalog toneMint
class node_events,node_register,node_user,node_client,node_guest toneRose
class node_recommend,node_ar,node_shopper toneIndigo
```

## Components

### Customer shopping

- [Browse and search](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Shop/ShopController.php): `app/Http/Controllers/Shop/ShopController.php`
- [Product search](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Services/ProductSearch.php): `app/Services/ProductSearch.php`

### Checkout and orders

- [Shopping cart](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Cart.php): `app/Models/Cart.php`
- [Order checkout](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/OrderController.php): `app/Http/Controllers/OrderController.php`
- [Orders and history](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Order.php): `app/Models/Order.php`
- [Order line items](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Order_Details.php): `app/Models/Order_Details.php`
- [Archived orders](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/OrdersHistory.php): `app/Models/OrdersHistory.php`
- [Email delivery](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Services/MailerService.php): `app/Services/MailerService.php`
- [Order administration](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/OrderController.php): `app/Http/Controllers/OrderController.php`

### Catalog management

- [Product catalog](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Product.php): `app/Models/Product.php`
- [Product categories](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Category.php): `app/Models/Category.php`
- [Category options](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Category/Section/Products_Color.php): `app/Models/Category/Section/Products_Color.php`
- [Product options](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Category/Pivot/Pivot_Color.php): `app/Models/Category/Pivot/Pivot_Color.php`
- [Admin catalog tools](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Users/Admin/InsertController.php): `app/Http/Controllers/Users/Admin/InsertController.php`

### Accounts and activity

- [Shopping activity](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/UserEvent.php): `app/Models/UserEvent.php`
- [Registration](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [User accounts](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/User.php): `app/Models/User.php`
- [Client accounts](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Models/Client.php): `app/Models/Client.php`
- [Guest activity](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Http/Middleware/EnsureGuestUserId.php): `app/Http/Middleware/EnsureGuestUserId.php`

### Recommendations and AR

- [Hybrid recommendations](https://github.com/chunchunmaru25/jeromeee/blob/main/app/Services/RecommendationService.php): `app/Services/RecommendationService.php`
- [AR visualization](https://github.com/chunchunmaru25/jeromeee/blob/main/public/js/ArModel.js): `public/js/ArModel.js`

### Other components

- **Shopper**

## Connections

- Shopper → Browse and search: browses
- Browse and search → Product search: searches via (evidence: `app/Http/Controllers/Shop/ShopController.php`)
- Browse and search → Hybrid recommendations: requests results (evidence: `app/Http/Controllers/Shop/ShopController.php`)
- Browse and search → Product catalog: lists products (evidence: `app/Http/Controllers/Shop/ShopController.php`)
- Hybrid recommendations → Shopping activity: reads activity (evidence: `app/Services/RecommendationService.php`)
- Browse and search → Shopping activity: tracks actions (evidence: `app/Http/Controllers/Shop/ShopController.php`)
- Shopper → AR visualization: views in AR
- Browse and search → Shopping cart: adds items
- Shopper → Order checkout: checks out
- Order checkout → Shopping cart: reads and clears (evidence: `app/Http/Controllers/OrderController.php`)
- Order checkout → Orders and history: creates orders (evidence: `app/Http/Controllers/OrderController.php`)
- Order checkout → Order line items: creates details (evidence: `app/Http/Controllers/OrderController.php`)
- Order checkout → Email delivery: sends notices (evidence: `app/Http/Controllers/OrderController.php`)
- Order administration → Orders and history: updates status (evidence: `app/Http/Controllers/OrderController.php`)
- Order administration → Archived orders: archives orders (evidence: `app/Http/Controllers/OrderController.php`)
- Admin catalog tools → Product catalog: maintains products (evidence: `app/Http/Controllers/Users/Admin/InsertController.php`)
- Admin catalog tools → Category options: maintains options (evidence: `app/Http/Controllers/Users/Admin/InsertController.php`)
- Admin catalog tools → Product options: updates assignments (evidence: `app/Http/Controllers/Users/Admin/InsertController.php`)
- Browse and search → Product categories: filters categories (evidence: `app/Http/Controllers/Shop/ShopController.php`)
- Registration → User accounts: creates account (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Registration → Client accounts: creates client (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Guest activity → Shopping activity: identifies visitor
