# jamesmangao/stardom architecture

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

- Interactive diagram: https://gitdiagram.com/jamesmangao/stardom
- Repository: https://github.com/jamesmangao/stardom

## Overview

STAR:DOM is a VB.NET ASP.NET Web Forms marketplace for artisan products and pop-up events. Customers browse products, add items to a cart, check out using delivery or event pick-up and supported payment options, then track orders; account features include commissions, reviews, and notifications. Merchants manage products, events, commissions, orders, and reports, while the owner administers users and payment settings. The README documents these capabilities and the PostgreSQL data layer; source excerpts were limited to seed-conversion tools, so internal runtime calls are not verified.

Main entry points: [`STAR-DOM-Web/App/Checkout.aspx.vb`](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Checkout.aspx.vb) (Checkout), [`STAR-DOM-Web/App/Merchant/Dashboard.aspx.vb`](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Merchant/Dashboard.aspx.vb) (Merchant dashboard), [`STAR-DOM-Web/App/Merchant`](https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/App/Merchant) (Merchant operations), [`STAR-DOM-Web/App/Catalog.aspx.vb`](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Catalog.aspx.vb) (Catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_customer["Customer commerce"]
  node_marketplace["Marketplace"]
  node_catalog["Catalog<br/>[Catalog.aspx.vb]"]
  node_product["Product detail<br/>[Product.aspx.vb]"]
  node_cart["Cart<br/>[Cart.aspx.vb]"]
  node_checkout["Checkout<br/>[Checkout.aspx.vb]"]
  node_orders["Orders and tracking<br/>[Orders.aspx.vb]"]
  node_orderdetail["Order detail"]
end

subgraph group_community["Events and commissions"]
  node_events["Pop-up schedule"]
  node_commissions["Commission requests"]
  node_commissionhub["Commission hub"]
  node_profile["Account and reviews<br/>[Profile.aspx.vb]"]
end

subgraph group_merchant["Merchant and admin"]
  node_merchant["Merchant dashboard<br/>[Dashboard.aspx.vb]"]
  node_merchantops["Merchant operations"]
  node_admin["Admin console<br/>[Users.aspx.vb]"]
  node_payments["Payment settings"]
end

subgraph group_platform["Shared platform"]
  node_services["Domain services"]
  node_repositories["Data repositories"]
  node_database[("PostgreSQL")]
  node_dbaccess["Database access<br/>[Db.vb]"]
  node_account["Sign-in and registration<br/>[Login.aspx.vb]"]
  node_notifications["Notifications"]
end

node_visitor(("Customer"))

node_visitor -->|"browses"| node_marketplace
node_marketplace -->|"opens catalog"| node_catalog
node_visitor -->|"searches"| node_catalog
node_catalog -->|"views product"| node_product
node_product -->|"adds item"| node_cart
node_cart -->|"checks out"| node_checkout
node_checkout -->|"places order"| node_orders
node_orders -->|"opens details"| node_orderdetail
node_visitor -->|"views schedule"| node_events
node_visitor -->|"requests commission"| node_commissions
node_commissions -->|"tracks request"| node_commissionhub
node_visitor -->|"manages account"| node_profile
node_visitor -->|"signs in"| node_account
node_account -->|"returns to item"| node_cart
node_visitor -->|"checks updates"| node_notifications
node_merchant -->|"manages business"| node_merchantops
node_merchantops -->|"processes requests"| node_commissions
node_merchantops -->|"manages orders"| node_orders
node_merchant -->|"manages users"| node_admin
node_merchant -->|"configures wallets"| node_payments
node_services -.->|"uses"| node_repositories
node_repositories -.->|"accesses data"| node_dbaccess
node_dbaccess -->|"queries"| node_database
node_checkout -->|"selects pick-up"| node_events
node_checkout -->|"uses payment options"| node_payments

click node_marketplace "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Marketplace.aspx.vb"
click node_catalog "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Catalog.aspx.vb"
click node_product "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Product.aspx.vb"
click node_cart "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Cart.aspx.vb"
click node_checkout "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Checkout.aspx.vb"
click node_orders "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Orders.aspx.vb"
click node_orderdetail "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/OrderDetail.aspx.vb"
click node_events "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/PopupLocations.aspx.vb"
click node_commissions "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/CommissionRequest.aspx.vb"
click node_commissionhub "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/CommissionHub.aspx.vb"
click node_profile "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Profile.aspx.vb"
click node_merchant "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Merchant/Dashboard.aspx.vb"
click node_merchantops "https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/App/Merchant"
click node_admin "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Admin/Users.aspx.vb"
click node_payments "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Admin/PaymentSettings.aspx.vb"
click node_services "https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/Shared/Services"
click node_repositories "https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/Shared/Repositories"
click node_database "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/Database/supabase_schema.sql"
click node_dbaccess "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/Code/Db.vb"
click node_account "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/Login.aspx.vb"
click node_notifications "https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Notifications.aspx.vb"

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_marketplace,node_catalog,node_product,node_cart,node_checkout,node_orders,node_orderdetail toneBlue
class node_events,node_commissions,node_commissionhub,node_profile toneAmber
class node_merchant,node_merchantops,node_admin,node_payments toneMint
class node_services,node_repositories,node_database,node_dbaccess,node_account,node_notifications toneRose
class node_visitor toneIndigo
```

## Components

### Customer commerce

- [Marketplace](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Marketplace.aspx.vb): `STAR-DOM-Web/App/Marketplace.aspx.vb`
- [Catalog](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Catalog.aspx.vb): `STAR-DOM-Web/App/Catalog.aspx.vb`
- [Product detail](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Product.aspx.vb): `STAR-DOM-Web/App/Product.aspx.vb`
- [Cart](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Cart.aspx.vb): `STAR-DOM-Web/App/Cart.aspx.vb`
- [Checkout](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Checkout.aspx.vb): `STAR-DOM-Web/App/Checkout.aspx.vb`
- [Orders and tracking](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Orders.aspx.vb): `STAR-DOM-Web/App/Orders.aspx.vb`
- [Order detail](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/OrderDetail.aspx.vb): `STAR-DOM-Web/App/OrderDetail.aspx.vb`

### Events and commissions

- [Pop-up schedule](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/PopupLocations.aspx.vb): `STAR-DOM-Web/App/PopupLocations.aspx.vb`
- [Commission requests](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/CommissionRequest.aspx.vb): `STAR-DOM-Web/App/CommissionRequest.aspx.vb`
- [Commission hub](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/CommissionHub.aspx.vb): `STAR-DOM-Web/App/CommissionHub.aspx.vb`
- [Account and reviews](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Profile.aspx.vb): `STAR-DOM-Web/App/Profile.aspx.vb`

### Merchant and admin

- [Merchant dashboard](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Merchant/Dashboard.aspx.vb): `STAR-DOM-Web/App/Merchant/Dashboard.aspx.vb`
- [Merchant operations](https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/App/Merchant): `STAR-DOM-Web/App/Merchant`
- [Admin console](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Admin/Users.aspx.vb): `STAR-DOM-Web/App/Admin/Users.aspx.vb`
- [Payment settings](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Admin/PaymentSettings.aspx.vb): `STAR-DOM-Web/App/Admin/PaymentSettings.aspx.vb`

### Shared platform

- [Domain services](https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/Shared/Services): `STAR-DOM-Web/Shared/Services`
- [Data repositories](https://github.com/jamesmangao/stardom/tree/main/STAR-DOM-Web/Shared/Repositories): `STAR-DOM-Web/Shared/Repositories`
- [PostgreSQL](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/Database/supabase_schema.sql): `STAR-DOM-Web/Database/supabase_schema.sql`
- [Database access](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/Code/Db.vb): `STAR-DOM-Web/Code/Db.vb`
- [Sign-in and registration](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/Login.aspx.vb): `STAR-DOM-Web/Login.aspx.vb`
- [Notifications](https://github.com/jamesmangao/stardom/blob/main/STAR-DOM-Web/App/Notifications.aspx.vb): `STAR-DOM-Web/App/Notifications.aspx.vb`

### Other components

- **Customer**

## Connections

- Customer → Marketplace: browses (evidence: `README.md`)
- Marketplace → Catalog: opens catalog (evidence: `README.md`)
- Customer → Catalog: searches (evidence: `README.md`)
- Catalog → Product detail: views product (evidence: `README.md`)
- Product detail → Cart: adds item (evidence: `README.md`)
- Cart → Checkout: checks out (evidence: `README.md`)
- Checkout → Orders and tracking: places order (evidence: `README.md`)
- Orders and tracking → Order detail: opens details (evidence: `README.md`)
- Customer → Pop-up schedule: views schedule (evidence: `README.md`)
- Customer → Commission requests: requests commission (evidence: `README.md`)
- Commission requests → Commission hub: tracks request (evidence: `README.md`)
- Customer → Account and reviews: manages account (evidence: `README.md`)
- Customer → Sign-in and registration: signs in (evidence: `README.md`)
- Sign-in and registration → Cart: returns to item (evidence: `README.md`)
- Customer → Notifications: checks updates (evidence: `README.md`)
- Merchant dashboard → Merchant operations: manages business (evidence: `README.md`)
- Merchant operations → Commission requests: processes requests (evidence: `README.md`)
- Merchant operations → Orders and tracking: manages orders (evidence: `README.md`)
- Merchant dashboard → Admin console: manages users (evidence: `README.md`)
- Merchant dashboard → Payment settings: configures wallets (evidence: `README.md`)
- Domain services → Data repositories: uses
- Data repositories → Database access: accesses data
- Database access → PostgreSQL: queries (evidence: `README.md`)
- Checkout → Pop-up schedule: selects pick-up (evidence: `README.md`)
- Checkout → Payment settings: uses payment options (evidence: `README.md`)
