# mg7434209-hue/gesmarketim1 architecture

> Architecture diagram of the GitHub repository mg7434209-hue/gesmarketim1, 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/mg7434209-hue/gesmarketim1
- Repository: https://github.com/mg7434209-hue/gesmarketim1

## Overview

GES MARKETİM is a solar-equipment storefront. The main customer journey is browsing or searching the catalog, viewing product or system recommendations, adding items to a cart, and placing an order through WhatsApp or card payment. The React app loads its store data from the Node server; the server also handles currency and payment operations. The graph preserves the documented assistant, admin, and SEO capabilities. Some backend route and data-file details were not sampled, so uncertain connections are omitted.

Main entry points: [`frontend/src/App.jsx`](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/App.jsx) (Route application), [`server.js`](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/server.js) (Node server), [`frontend/src/components/ui.jsx`](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/components/ui.jsx) (Product components), [`frontend/src/pages/Cart.jsx`](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Cart.jsx) (Cart and checkout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Storefront"]
  node_app["Route application<br/>[App.jsx]"]
  node_layout["Store layout<br/>[Layout.jsx]"]
  node_home["Home page<br/>[Home.jsx]"]
  node_category["Category browsing<br/>[Category.jsx]"]
  node_product["Product details<br/>[Product.jsx]"]
  node_ui["Product components<br/>[ui.jsx]"]
  node_notfound["Not found page<br/>[NotFound.jsx]"]
  node_hooks["SEO and UI hooks<br/>[hooks.js]"]
end

subgraph group_commerce["Shopping and sales"]
  node_cart["Cart and checkout<br/>[Cart.jsx]"]
  node_localcart["Browser cart state<br/>[api.js]"]
  node_paymentresult["Payment result<br/>[OdemeSonuc.jsx]"]
  node_admin["Admin panel<br/>[Admin.jsx]"]
end

subgraph group_server["Server services"]
  node_storedata["Store data client<br/>[api.js]"]
  node_server["Node server<br/>[server.js]"]
  node_orders[("Order records<br/>[orders.json]")]
  node_kur[("Exchange-rate record")]
end

subgraph group_support["Guidance and content"]
  node_builder["System builder<br/>[Builder.jsx]"]
  node_assistant["Assistant client<br/>[sistemkur.js]"]
  node_contact["Contact page<br/>[Contact.jsx]"]
  node_static["Information pages<br/>[Static.jsx]"]
  node_staticpages["SEO and legal content<br/>[Static.jsx]"]
end

node_customer(("Customer"))
node_whatsapp(("WhatsApp"))
node_iyzico(("Iyzico payment"))

node_customer -->|"opens"| node_app
node_app -->|"renders"| node_layout
node_app -->|"routes"| node_home
node_app -->|"routes"| node_category
node_app -->|"routes"| node_product
node_app -->|"routes"| node_cart
node_app -->|"routes"| node_builder
node_app -->|"routes"| node_contact
node_app -->|"routes"| node_static
node_app -->|"routes"| node_admin
node_app -->|"routes"| node_paymentresult
node_app -->|"routes"| node_notfound
node_layout -->|"reads cart and store"| node_storedata
node_home -->|"uses"| node_ui
node_category -->|"uses"| node_ui
node_product -->|"uses"| node_ui
node_ui -->|"adds items"| node_localcart
node_cart -->|"reads and updates"| node_localcart
node_cart -->|"sends order"| node_whatsapp
node_storedata -->|"requests store APIs"| node_server
node_admin -->|"uses data client"| node_storedata
node_builder -->|"asks assistant"| node_assistant
node_builder -->|"uses"| node_ui
node_server -->|"reads and writes"| node_orders
node_server -->|"verifies payment"| node_iyzico
node_paymentresult -.->|"submits result"| node_server
node_server -->|"stores exchange rate"| node_kur
node_server -.->|"initiates payment"| node_iyzico
node_static -->|"sets page metadata"| node_hooks
node_notfound -->|"sets page metadata"| node_hooks
node_customer -->|"reads guides and policies"| node_staticpages

click node_app "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/App.jsx"
click node_layout "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/components/Layout.jsx"
click node_home "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Home.jsx"
click node_category "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Category.jsx"
click node_product "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Product.jsx"
click node_ui "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/components/ui.jsx"
click node_storedata "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/api.js"
click node_cart "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Cart.jsx"
click node_localcart "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/api.js"
click node_paymentresult "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/OdemeSonuc.jsx"
click node_admin "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Admin.jsx"
click node_builder "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Builder.jsx"
click node_assistant "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/sistemkur.js"
click node_contact "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Contact.jsx"
click node_static "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Static.jsx"
click node_notfound "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/NotFound.jsx"
click node_hooks "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/hooks.js"
click node_server "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/server.js"
click node_orders "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/data/orders.json"
click node_staticpages "https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Static.jsx"

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_app,node_layout,node_home,node_category,node_product,node_ui,node_notfound,node_hooks toneBlue
class node_cart,node_localcart,node_paymentresult,node_admin toneAmber
class node_storedata,node_server,node_orders,node_kur toneMint
class node_builder,node_assistant,node_contact,node_static,node_staticpages toneRose
class node_customer,node_whatsapp,node_iyzico toneIndigo
```

## Components

### Storefront

- [Route application](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Store layout](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/components/Layout.jsx): `frontend/src/components/Layout.jsx`
- [Home page](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Home.jsx): `frontend/src/pages/Home.jsx`
- [Category browsing](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Category.jsx): `frontend/src/pages/Category.jsx`
- [Product details](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Product.jsx): `frontend/src/pages/Product.jsx`
- [Product components](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/components/ui.jsx): `frontend/src/components/ui.jsx`
- [Not found page](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/NotFound.jsx): `frontend/src/pages/NotFound.jsx`
- [SEO and UI hooks](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/hooks.js): `frontend/src/hooks.js`

### Shopping and sales

- [Cart and checkout](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Cart.jsx): `frontend/src/pages/Cart.jsx`
- [Browser cart state](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/api.js): `frontend/src/api.js`
- [Payment result](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/OdemeSonuc.jsx): `frontend/src/pages/OdemeSonuc.jsx`
- [Admin panel](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Admin.jsx): `frontend/src/pages/Admin.jsx`

### Server services

- [Store data client](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/api.js): `frontend/src/api.js`
- [Node server](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/server.js): `server.js`
- [Order records](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/data/orders.json): `data/orders.json`
- **Exchange-rate record**

### Guidance and content

- [System builder](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Builder.jsx): `frontend/src/pages/Builder.jsx`
- [Assistant client](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/sistemkur.js): `frontend/src/sistemkur.js`
- [Contact page](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Contact.jsx): `frontend/src/pages/Contact.jsx`
- [Information pages](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Static.jsx): `frontend/src/pages/Static.jsx`
- [SEO and legal content](https://github.com/mg7434209-hue/gesmarketim1/blob/claude/website-analysis-fixes-3y2obi/frontend/src/pages/Static.jsx): `frontend/src/pages/Static.jsx`

### Other components

- **Customer**
- **WhatsApp**
- **Iyzico payment**

## Connections

- Customer → Route application: opens (evidence: `frontend/src/App.jsx`)
- Route application → Store layout: renders (evidence: `frontend/src/App.jsx`)
- Route application → Home page: routes (evidence: `frontend/src/App.jsx`)
- Route application → Category browsing: routes (evidence: `frontend/src/App.jsx`)
- Route application → Product details: routes (evidence: `frontend/src/App.jsx`)
- Route application → Cart and checkout: routes (evidence: `frontend/src/App.jsx`)
- Route application → System builder: routes (evidence: `frontend/src/App.jsx`)
- Route application → Contact page: routes (evidence: `frontend/src/App.jsx`)
- Route application → Information pages: routes (evidence: `frontend/src/App.jsx`)
- Route application → Admin panel: routes (evidence: `frontend/src/App.jsx`)
- Route application → Payment result: routes (evidence: `frontend/src/App.jsx`)
- Route application → Not found page: routes (evidence: `frontend/src/App.jsx`)
- Store layout → Store data client: reads cart and store (evidence: `frontend/src/components/Layout.jsx`)
- Home page → Product components: uses (evidence: `frontend/src/pages/Home.jsx`)
- Category browsing → Product components: uses (evidence: `frontend/src/pages/Category.jsx`)
- Product details → Product components: uses (evidence: `frontend/src/pages/Product.jsx`)
- Product components → Browser cart state: adds items (evidence: `frontend/src/components/ui.jsx`)
- Cart and checkout → Browser cart state: reads and updates (evidence: `frontend/src/pages/Cart.jsx`)
- Cart and checkout → WhatsApp: sends order (evidence: `frontend/src/pages/Cart.jsx`)
- Store data client → Node server: requests store APIs (evidence: `frontend/src/api.js`)
- Admin panel → Store data client: uses data client (evidence: `frontend/src/pages/Admin.jsx`)
- System builder → Assistant client: asks assistant (evidence: `frontend/src/pages/Builder.jsx`)
- System builder → Product components: uses (evidence: `frontend/src/pages/Builder.jsx`)
- Node server → Order records: reads and writes (evidence: `server.js`)
- Node server → Iyzico payment: verifies payment (evidence: `server.js`)
- Payment result → Node server: submits result
- Node server → Exchange-rate record: stores exchange rate (evidence: `server.js`)
- Node server → Iyzico payment: initiates payment
- Information pages → SEO and UI hooks: sets page metadata (evidence: `frontend/src/pages/Static.jsx`)
- Not found page → SEO and UI hooks: sets page metadata (evidence: `frontend/src/pages/NotFound.jsx`)
- Customer → SEO and legal content: reads guides and policies (evidence: `README.md`)
