# shahrozyousaf/foodsted_update architecture

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

- Interactive diagram: https://gitdiagram.com/shahrozyousaf/foodsted_update
- Repository: https://github.com/shahrozyousaf/foodsted_update

## Overview

FOODSTED 2.0 is a static marketing and information website for restaurant technology, onboarding, rider services, and support—not the restaurant platform itself. The principal visitor workflow is browsing product information and then finding onboarding or contact options; the README documents these page purposes, while the sampled JavaScript shows shared partial loading and form submissions to external APIs. Several page-specific implementations were not sampled, so their internal links and behavior are not inferred.

Main entry points: [`js/script.js`](https://github.com/shahrozyousaf/foodsted_update/blob/main/js/script.js) (Page interactions), [`index.html`](https://github.com/shahrozyousaf/foodsted_update/blob/main/index.html) (Product overview), [`integration.html`](https://github.com/shahrozyousaf/foodsted_update/blob/main/integration.html) (Integrations), [`poweroffice.html`](https://github.com/shahrozyousaf/foodsted_update/blob/main/poweroffice.html) (PowerOffice guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Product and business pages"]
  node_home["Product overview<br/>[index.html]"]
  node_integrations["Integrations<br/>[integration.html]"]
  node_poweroffice["PowerOffice guide<br/>[poweroffice.html]"]
  node_career["Careers<br/>[career.html]"]
end

subgraph group_services["Onboarding and rider pages"]
  node_restaurant["Restaurant onboarding"]
  node_contact["Contact inquiries<br/>[contact-us.html]"]
  node_rider_register["Rider registration"]
  node_rider_rules["Rider rules<br/>[rider-rule.html]"]
end

subgraph group_resources["Guides and policies"]
  node_support["Support resources<br/>[support.html]"]
  node_order_faq["Order FAQ"]
  node_user_manual["User manual<br/>[user-manual.html]"]
  node_printer_guide["Printer setup<br/>[printer-setup.html]"]
  node_business_terms["Business policies<br/>[terms-partner.html]"]
  node_privacy["Privacy policy"]
  node_refunds["Refund policy<br/>[refund-policy.html]"]
  node_inventory_terms["Inventory terms"]
end

subgraph group_runtime["Shared browser runtime"]
  node_shared_runtime["Page interactions<br/>[script.js]"]
  node_navbar["Navigation partial<br/>[navbar.html]"]
  node_footer["Footer partial<br/>[footer.html]"]
  node_forms["Form partial<br/>[forms.html]"]
end

node_visitor(("Website visitor"))
node_foodsted_api{{"FOODSTED form APIs"}}

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_integrations
node_visitor -->|"browses"| node_poweroffice
node_visitor -->|"starts onboarding"| node_restaurant
node_visitor -->|"makes inquiries"| node_contact
node_visitor -->|"registers"| node_rider_register
node_visitor -->|"reads rules"| node_rider_rules
node_visitor -->|"seeks help"| node_support
node_visitor -->|"reads answers"| node_order_faq
node_visitor -->|"reads guide"| node_user_manual
node_visitor -->|"reads guide"| node_printer_guide
node_visitor -->|"reviews terms"| node_business_terms
node_visitor -->|"reviews policy"| node_privacy
node_visitor -->|"reviews policy"| node_refunds
node_visitor -->|"reviews terms"| node_inventory_terms
node_visitor -->|"browses"| node_career
node_shared_runtime -->|"loads"| node_navbar
node_shared_runtime -->|"loads"| node_footer
node_shared_runtime -->|"loads"| node_forms
node_shared_runtime -->|"submits forms"| node_foodsted_api

click node_home "https://github.com/shahrozyousaf/foodsted_update/blob/main/index.html"
click node_integrations "https://github.com/shahrozyousaf/foodsted_update/blob/main/integration.html"
click node_poweroffice "https://github.com/shahrozyousaf/foodsted_update/blob/main/poweroffice.html"
click node_restaurant "https://github.com/shahrozyousaf/foodsted_update/blob/main/add-your-restaurant.html"
click node_contact "https://github.com/shahrozyousaf/foodsted_update/blob/main/contact-us.html"
click node_rider_register "https://github.com/shahrozyousaf/foodsted_update/blob/main/register-rider.html"
click node_rider_rules "https://github.com/shahrozyousaf/foodsted_update/blob/main/rider-rule.html"
click node_support "https://github.com/shahrozyousaf/foodsted_update/blob/main/support.html"
click node_order_faq "https://github.com/shahrozyousaf/foodsted_update/blob/main/online-order-faq.html"
click node_user_manual "https://github.com/shahrozyousaf/foodsted_update/blob/main/user-manual.html"
click node_printer_guide "https://github.com/shahrozyousaf/foodsted_update/blob/main/printer-setup.html"
click node_business_terms "https://github.com/shahrozyousaf/foodsted_update/blob/main/terms-partner.html"
click node_privacy "https://github.com/shahrozyousaf/foodsted_update/blob/main/privacy-policy.html"
click node_refunds "https://github.com/shahrozyousaf/foodsted_update/blob/main/refund-policy.html"
click node_inventory_terms "https://github.com/shahrozyousaf/foodsted_update/blob/main/terms-inventory.html"
click node_career "https://github.com/shahrozyousaf/foodsted_update/blob/main/career.html"
click node_shared_runtime "https://github.com/shahrozyousaf/foodsted_update/blob/main/js/script.js"
click node_navbar "https://github.com/shahrozyousaf/foodsted_update/blob/main/navbar.html"
click node_footer "https://github.com/shahrozyousaf/foodsted_update/blob/main/footer.html"
click node_forms "https://github.com/shahrozyousaf/foodsted_update/blob/main/forms.html"

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_integrations,node_poweroffice,node_career toneBlue
class node_restaurant,node_contact,node_rider_register,node_rider_rules toneAmber
class node_support,node_order_faq,node_user_manual,node_printer_guide,node_business_terms,node_privacy,node_refunds,node_inventory_terms,node_foodsted_api toneMint
class node_shared_runtime,node_navbar,node_footer,node_forms toneRose
class node_visitor toneIndigo
```

## Components

### Product and business pages

- [Product overview](https://github.com/shahrozyousaf/foodsted_update/blob/main/index.html): `index.html`
- [Integrations](https://github.com/shahrozyousaf/foodsted_update/blob/main/integration.html): `integration.html`
- [PowerOffice guide](https://github.com/shahrozyousaf/foodsted_update/blob/main/poweroffice.html): `poweroffice.html`
- [Careers](https://github.com/shahrozyousaf/foodsted_update/blob/main/career.html): `career.html`

### Onboarding and rider pages

- [Restaurant onboarding](https://github.com/shahrozyousaf/foodsted_update/blob/main/add-your-restaurant.html): `add-your-restaurant.html`
- [Contact inquiries](https://github.com/shahrozyousaf/foodsted_update/blob/main/contact-us.html): `contact-us.html`
- [Rider registration](https://github.com/shahrozyousaf/foodsted_update/blob/main/register-rider.html): `register-rider.html`
- [Rider rules](https://github.com/shahrozyousaf/foodsted_update/blob/main/rider-rule.html): `rider-rule.html`

### Guides and policies

- [Support resources](https://github.com/shahrozyousaf/foodsted_update/blob/main/support.html): `support.html`
- [Order FAQ](https://github.com/shahrozyousaf/foodsted_update/blob/main/online-order-faq.html): `online-order-faq.html`
- [User manual](https://github.com/shahrozyousaf/foodsted_update/blob/main/user-manual.html): `user-manual.html`
- [Printer setup](https://github.com/shahrozyousaf/foodsted_update/blob/main/printer-setup.html): `printer-setup.html`
- [Business policies](https://github.com/shahrozyousaf/foodsted_update/blob/main/terms-partner.html): `terms-partner.html`
- [Privacy policy](https://github.com/shahrozyousaf/foodsted_update/blob/main/privacy-policy.html): `privacy-policy.html`
- [Refund policy](https://github.com/shahrozyousaf/foodsted_update/blob/main/refund-policy.html): `refund-policy.html`
- [Inventory terms](https://github.com/shahrozyousaf/foodsted_update/blob/main/terms-inventory.html): `terms-inventory.html`

### Shared browser runtime

- [Page interactions](https://github.com/shahrozyousaf/foodsted_update/blob/main/js/script.js): `js/script.js`
- [Navigation partial](https://github.com/shahrozyousaf/foodsted_update/blob/main/navbar.html): `navbar.html`
- [Footer partial](https://github.com/shahrozyousaf/foodsted_update/blob/main/footer.html): `footer.html`
- [Form partial](https://github.com/shahrozyousaf/foodsted_update/blob/main/forms.html): `forms.html`

### Other components

- **Website visitor**
- **FOODSTED form APIs**

## Connections

- Website visitor → Product overview: browses (evidence: `README.md`)
- Website visitor → Integrations: browses (evidence: `README.md`)
- Website visitor → PowerOffice guide: browses (evidence: `README.md`)
- Website visitor → Restaurant onboarding: starts onboarding (evidence: `README.md`)
- Website visitor → Contact inquiries: makes inquiries (evidence: `README.md`)
- Website visitor → Rider registration: registers (evidence: `README.md`)
- Website visitor → Rider rules: reads rules (evidence: `README.md`)
- Website visitor → Support resources: seeks help (evidence: `README.md`)
- Website visitor → Order FAQ: reads answers (evidence: `README.md`)
- Website visitor → User manual: reads guide (evidence: `README.md`)
- Website visitor → Printer setup: reads guide (evidence: `README.md`)
- Website visitor → Business policies: reviews terms (evidence: `README.md`)
- Website visitor → Privacy policy: reviews policy (evidence: `README.md`)
- Website visitor → Refund policy: reviews policy (evidence: `README.md`)
- Website visitor → Inventory terms: reviews terms (evidence: `README.md`)
- Website visitor → Careers: browses (evidence: `README.md`)
- Page interactions → Navigation partial: loads (evidence: `js/script.js`)
- Page interactions → Footer partial: loads (evidence: `js/script.js`)
- Page interactions → Form partial: loads (evidence: `js/script.js`)
- Page interactions → FOODSTED form APIs: submits forms (evidence: `js/script.js`)
