# acorsega146332tc/tagum_dried_flower architecture

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

- Interactive diagram: https://gitdiagram.com/acorsega146332tc/tagum_dried_flower
- Repository: https://github.com/acorsega146332tc/tagum_dried_flower

## Overview

ORDRI-BLOOM is a flower-shop ordering and management web app. Customers browse occasion bouquets, submit wedding or custom-bouquet requests, and follow order status; an owner reviews requests and manages the shop. The README documents these capabilities and the Supabase data model. The excerpts show the React entry point, navigation, FAQ widget, and Supabase client, but omit most feature handlers, so detailed call relationships are not asserted.

Main entry points: [`supabase/schema.sql`](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/supabase/schema.sql) (Shop database), [`src/App.jsx`](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx) (Application shell), [`src/lib/supabase.js`](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/lib/supabase.js) (Supabase client), [`src/main.jsx`](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/main.jsx) (Web entry point)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_customer["Customer experience"]
  node_auth["Accounts and roles<br/>[App.jsx]"]
  node_catalog["Bouquet catalog<br/>[App.jsx]"]
  node_chat["FAQ chat widget<br/>[App.jsx]"]
end

subgraph group_orders["Order lifecycle"]
  node_wedding["Wedding requests<br/>[App.jsx]"]
  node_builder["Custom bouquet builder<br/>[App.jsx]"]
  node_submission["Order submission<br/>[App.jsx]"]
  node_myorders["My orders<br/>[App.jsx]"]
  node_notifications["Order notifications<br/>[App.jsx]"]
end

subgraph group_admin["Owner workspace"]
  node_dashboard["Admin dashboard<br/>[App.jsx]"]
  node_review["Order review queue<br/>[App.jsx]"]
  node_customers["Customer management<br/>[App.jsx]"]
  node_products["Product management<br/>[App.jsx]"]
  node_options["Customization options<br/>[App.jsx]"]
  node_faqs["FAQ management<br/>[App.jsx]"]
  node_settings["Shop settings<br/>[App.jsx]"]
end

subgraph group_platform["Application and data"]
  node_entry["Web entry point<br/>[main.jsx]"]
  node_app["Application shell<br/>[App.jsx]"]
  node_client["Supabase client<br/>[supabase.js]"]
  node_database[("Shop database<br/>[schema.sql]")]
end

node_visitor(("Customer"))
node_owner(("Shop owner"))
node_supaauth["Supabase Auth"]

node_entry -->|"renders"| node_app
node_visitor -->|"uses"| node_app
node_owner -->|"uses"| node_app
node_app -->|"routes"| node_auth
node_app -->|"routes"| node_catalog
node_app -->|"routes"| node_wedding
node_app -->|"routes"| node_builder
node_app -->|"routes"| node_myorders
node_app -->|"routes"| node_dashboard
node_app -->|"renders"| node_chat
node_submission -->|"stores requests"| node_database
node_review -->|"reviews requests"| node_database
node_myorders -->|"reads orders"| node_database
node_notifications -->|"reads notifications"| node_database
node_catalog -->|"reads products"| node_database
node_builder -->|"reads options"| node_database
node_chat -->|"reads FAQs"| node_database
node_dashboard -->|"reads shop data"| node_database
node_customers -->|"manages profiles"| node_database
node_products -->|"manages products"| node_database
node_options -->|"manages options"| node_database
node_faqs -->|"manages FAQs"| node_database
node_settings -->|"manages settings"| node_database
node_app -->|"imports"| node_client
node_client -.->|"connects"| node_supaauth
node_client -.->|"connects"| node_database

click node_entry "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/main.jsx"
click node_app "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_auth "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_catalog "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_wedding "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_builder "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_submission "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_myorders "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_notifications "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_dashboard "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_review "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_customers "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_products "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_options "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_faqs "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_settings "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_chat "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx"
click node_client "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/lib/supabase.js"
click node_database "https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/supabase/schema.sql"

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_auth,node_catalog,node_chat toneBlue
class node_wedding,node_builder,node_submission,node_myorders,node_notifications toneAmber
class node_dashboard,node_review,node_customers,node_products,node_options,node_faqs,node_settings toneMint
class node_entry,node_app,node_client,node_database toneRose
class node_visitor,node_owner,node_supaauth toneIndigo
```

## Components

### Customer experience

- [Accounts and roles](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Bouquet catalog](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [FAQ chat widget](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`

### Order lifecycle

- [Wedding requests](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Custom bouquet builder](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Order submission](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [My orders](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Order notifications](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`

### Owner workspace

- [Admin dashboard](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Order review queue](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Customer management](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Product management](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Customization options](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [FAQ management](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Shop settings](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`

### Application and data

- [Web entry point](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/main.jsx): `src/main.jsx`
- [Application shell](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/App.jsx): `src/App.jsx`
- [Supabase client](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/src/lib/supabase.js): `src/lib/supabase.js`
- [Shop database](https://github.com/acorsega146332tc/tagum_dried_flower/blob/main/supabase/schema.sql): `supabase/schema.sql`

### Other components

- **Customer**
- **Shop owner**
- **Supabase Auth**

## Connections

- Web entry point → Application shell: renders (evidence: `src/main.jsx`)
- Customer → Application shell: uses (evidence: `README.md`)
- Shop owner → Application shell: uses (evidence: `README.md`)
- Application shell → Accounts and roles: routes (evidence: `src/App.jsx`)
- Application shell → Bouquet catalog: routes (evidence: `src/App.jsx`)
- Application shell → Wedding requests: routes (evidence: `src/App.jsx`)
- Application shell → Custom bouquet builder: routes (evidence: `src/App.jsx`)
- Application shell → My orders: routes (evidence: `src/App.jsx`)
- Application shell → Admin dashboard: routes (evidence: `src/App.jsx`)
- Application shell → FAQ chat widget: renders (evidence: `src/App.jsx`)
- Order submission → Shop database: stores requests (evidence: `README.md`)
- Order review queue → Shop database: reviews requests (evidence: `README.md`)
- My orders → Shop database: reads orders (evidence: `README.md`)
- Order notifications → Shop database: reads notifications (evidence: `README.md`)
- Bouquet catalog → Shop database: reads products (evidence: `README.md`)
- Custom bouquet builder → Shop database: reads options (evidence: `README.md`)
- FAQ chat widget → Shop database: reads FAQs (evidence: `README.md`)
- Admin dashboard → Shop database: reads shop data (evidence: `README.md`)
- Customer management → Shop database: manages profiles (evidence: `README.md`)
- Product management → Shop database: manages products (evidence: `README.md`)
- Customization options → Shop database: manages options (evidence: `README.md`)
- FAQ management → Shop database: manages FAQs (evidence: `README.md`)
- Shop settings → Shop database: manages settings (evidence: `README.md`)
- Application shell → Supabase client: imports (evidence: `src/App.jsx`)
- Supabase client → Supabase Auth: connects (evidence: `README.md`)
- Supabase client → Shop database: connects (evidence: `README.md`)
