# faizmohmmadr/dry-fruits-website architecture

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

- Interactive diagram: https://gitdiagram.com/faizmohmmadr/dry-fruits-website
- Repository: https://github.com/faizmohmmadr/dry-fruits-website

## Overview

Dry-Fruits-website is a static website for advertising dry fruits. Its principal user workflow is entering the site to browse product-oriented pages or advertise a product; account forms and informational pages are additional branches. The sampled JavaScript validates registration, login, and product-ad form fields, but its excerpts do not show which HTML pages load those scripts. No backend, persistence layer, or external service is evidenced, so none is represented. The advertising workflow is documented at product level, but its exact page wiring is not shown.

Main entry points: [`index.html`](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/index.html) (Home), [`html/addProduct.html`](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/html/addProduct.html) (Advertise Product)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_marketplace["Marketplace"]
  node_home["Home<br/>[index.html]"]
  node_product_home["Product Landing<br/>[index.html]"]
  node_product_list["Products<br/>[products.html]"]
  node_top_selling["Top Selling<br/>[top-selling.html]"]
  node_add_product["Advertise Product<br/>[addProduct.html]"]
end

subgraph group_accounts["Accounts"]
  node_register["Registration<br/>[register.html]"]
  node_login["Login<br/>[login.html]"]
end

subgraph group_information["Information"]
  node_about["About<br/>[aboutUs.html]"]
  node_faqs["FAQs<br/>[faqs.html]"]
  node_feedback["Feedback<br/>[feedbackP.html]"]
  node_privacy["Privacy<br/>[privacy.html]"]
end

subgraph group_validation["Form Validation"]
  node_registration_validation["Registration Checks<br/>[script.js]"]
  node_login_validation["Login Checks<br/>[loginValidation.js]"]
  node_ad_validation["Ad Form Checks"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -.->|"advertises through"| node_add_product

click node_home "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/index.html"
click node_product_home "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/html/index.html"
click node_product_list "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/products/products.html"
click node_top_selling "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/top-selling/top-selling.html"
click node_add_product "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/html/addProduct.html"
click node_register "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/user/register.html"
click node_login "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/user/login.html"
click node_about "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/AboutUs/aboutUs.html"
click node_faqs "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/FAQS/faqs.html"
click node_feedback "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/Feedbackp/feedbackP.html"
click node_privacy "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/privacy/privacy.html"
click node_registration_validation "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/javascript/script.js"
click node_login_validation "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/javascript/loginValidation.js"
click node_ad_validation "https://github.com/faizmohmmadr/dry-fruits-website/blob/main/javascript/addProductFormValidation.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_home,node_product_home,node_product_list,node_top_selling,node_add_product toneBlue
class node_register,node_login toneAmber
class node_about,node_faqs,node_feedback,node_privacy toneMint
class node_registration_validation,node_login_validation,node_ad_validation toneRose
class node_visitor toneIndigo
```

## Components

### Marketplace

- [Home](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/index.html): `index.html`
- [Product Landing](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/html/index.html): `html/index.html`
- [Products](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/products/products.html): `products/products.html`
- [Top Selling](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/top-selling/top-selling.html): `top-selling/top-selling.html`
- [Advertise Product](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/html/addProduct.html): `html/addProduct.html`

### Accounts

- [Registration](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/user/register.html): `user/register.html`
- [Login](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/user/login.html): `user/login.html`

### Information

- [About](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/AboutUs/aboutUs.html): `AboutUs/aboutUs.html`
- [FAQs](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/FAQS/faqs.html): `FAQS/faqs.html`
- [Feedback](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/Feedbackp/feedbackP.html): `Feedbackp/feedbackP.html`
- [Privacy](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/privacy/privacy.html): `privacy/privacy.html`

### Form Validation

- [Registration Checks](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/javascript/script.js): `javascript/script.js`
- [Login Checks](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/javascript/loginValidation.js): `javascript/loginValidation.js`
- [Ad Form Checks](https://github.com/faizmohmmadr/dry-fruits-website/blob/main/javascript/addProductFormValidation.js): `javascript/addProductFormValidation.js`

### Other components

- **Visitor**

## Connections

- Visitor → Home: opens (evidence: `README.md`)
- Visitor → Advertise Product: advertises through
