# jaclynchiam/sonique-e-commerce-website- architecture

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

- Interactive diagram: https://gitdiagram.com/jaclynchiam/sonique-e-commerce-website-
- Repository: https://github.com/jaclynchiam/sonique-e-commerce-website-

## Overview

Sonique is a front-end headphone and earphone storefront built from HTML, CSS, and JavaScript. Its user-facing journey is browsing and filtering products, viewing product imagery, and using account, contact, review, and newsletter interfaces. The source index shows client-side validation and display interactions, but the README and sampled JavaScript do not establish page-to-script wiring or any backend checkout, persistence, or payment flow. Unverified page-to-feature links are therefore shown as dashed.

Main entry points: [`homepage.html`](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/homepage.html) (Home page), [`cart.html`](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/cart.html) (Cart page), [`productlisting-page.html`](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/productlisting-page.html) (Product listing), [`product1-display.html`](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/product1-display.html) (Product details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_storefront["Storefront"]
  node_home["Home page<br/>[homepage.html]"]
  node_cart["Cart page<br/>[cart.html]"]
end

subgraph group_discovery["Product discovery"]
  node_listing["Product listing"]
  node_details["Product details"]
  node_gallery["Product galleries"]
  node_home_filters["Home filters<br/>[indexFilter.js]"]
  node_listing_filters["Listing filters"]
end

subgraph group_account["Account and support"]
  node_signup["Signup page<br/>[signup.html]"]
  node_login["Login page<br/>[login.html]"]
  node_forgot["Password recovery"]
  node_reset["Password reset<br/>[resetpassword.html]"]
  node_contact["Contact page<br/>[contactus.html]"]
  node_review["Review page<br/>[review.html]"]
  node_faq["FAQ page<br/>[faq.html]"]
  node_service["Service page<br/>[service.html]"]
end

subgraph group_interactions["Client interactions"]
  node_signup_validation["Signup validation<br/>[signup.js]"]
  node_login_validation["Login validation<br/>[login.js]"]
  node_contact_validation["Contact validation<br/>[contactUs.js]"]
  node_review_validation["Review validation"]
  node_newsletter["Newsletter popup"]
  node_newsletter_validation["Newsletter validation"]
  node_popup["Popup controls<br/>[closePopup.js]"]
  node_quantity["Quantity control<br/>[quantity.js]"]
end

node_shopper(("Shopper"))

node_shopper -->|"browses"| node_home
node_shopper -.->|"browses"| node_listing
node_shopper -.->|"views"| node_details
node_shopper -.->|"opens"| node_cart
node_shopper -.->|"visits"| node_signup
node_shopper -.->|"visits"| node_login
node_shopper -.->|"visits"| node_forgot
node_shopper -.->|"visits"| node_reset
node_shopper -.->|"contacts"| node_contact
node_shopper -.->|"reviews"| node_review
node_shopper -.->|"reads"| node_faq
node_shopper -.->|"reads"| node_service
node_listing -.->|"uses"| node_listing_filters
node_home -.->|"uses"| node_home_filters
node_details -.->|"uses"| node_gallery
node_signup -.->|"uses"| node_signup_validation
node_login -.->|"uses"| node_login_validation
node_contact -.->|"uses"| node_contact_validation
node_review -.->|"uses"| node_review_validation
node_home -.->|"offers"| node_newsletter
node_home -.->|"uses"| node_newsletter_validation
node_home -.->|"uses"| node_popup
node_cart -.->|"uses"| node_quantity

click node_home "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/homepage.html"
click node_listing "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/productlisting-page.html"
click node_details "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/product1-display.html"
click node_gallery "https://github.com/jaclynchiam/sonique-e-commerce-website-/tree/main/javascript"
click node_home_filters "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/indexFilter.js"
click node_listing_filters "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/productListingFilter.js"
click node_cart "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/cart.html"
click node_signup "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/signup.html"
click node_signup_validation "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/signup.js"
click node_login "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/login.html"
click node_login_validation "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/login.js"
click node_forgot "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/forgotpassword.html"
click node_reset "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/resetpassword.html"
click node_contact "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/contactus.html"
click node_contact_validation "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/contactUs.js"
click node_review "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/review.html"
click node_review_validation "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/reviewValidation.js"
click node_faq "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/faq.html"
click node_service "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/service.html"
click node_newsletter "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/indexEmailValidation.js"
click node_newsletter_validation "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/newsletterValidation.js"
click node_popup "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/closePopup.js"
click node_quantity "https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/quantity.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_cart toneBlue
class node_listing,node_details,node_gallery,node_home_filters,node_listing_filters toneAmber
class node_signup,node_login,node_forgot,node_reset,node_contact,node_review,node_faq,node_service toneMint
class node_signup_validation,node_login_validation,node_contact_validation,node_review_validation,node_newsletter,node_newsletter_validation,node_popup,node_quantity toneRose
class node_shopper toneIndigo
```

## Components

### Storefront

- [Home page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/homepage.html): `homepage.html`
- [Cart page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/cart.html): `cart.html`

### Product discovery

- [Product listing](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/productlisting-page.html): `productlisting-page.html`
- [Product details](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/product1-display.html): `product1-display.html`
- [Product galleries](https://github.com/jaclynchiam/sonique-e-commerce-website-/tree/main/javascript): `javascript`
- [Home filters](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/indexFilter.js): `javascript/indexFilter.js`
- [Listing filters](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/productListingFilter.js): `javascript/productListingFilter.js`

### Account and support

- [Signup page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/signup.html): `signup.html`
- [Login page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/login.html): `login.html`
- [Password recovery](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/forgotpassword.html): `forgotpassword.html`
- [Password reset](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/resetpassword.html): `resetpassword.html`
- [Contact page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/contactus.html): `contactus.html`
- [Review page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/review.html): `review.html`
- [FAQ page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/faq.html): `faq.html`
- [Service page](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/service.html): `service.html`

### Client interactions

- [Signup validation](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/signup.js): `javascript/signup.js`
- [Login validation](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/login.js): `javascript/login.js`
- [Contact validation](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/contactUs.js): `javascript/contactUs.js`
- [Review validation](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/reviewValidation.js): `javascript/reviewValidation.js`
- [Newsletter popup](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/indexEmailValidation.js): `javascript/indexEmailValidation.js`
- [Newsletter validation](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/newsletterValidation.js): `javascript/newsletterValidation.js`
- [Popup controls](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/closePopup.js): `javascript/closePopup.js`
- [Quantity control](https://github.com/jaclynchiam/sonique-e-commerce-website-/blob/main/javascript/quantity.js): `javascript/quantity.js`

### Other components

- **Shopper**

## Connections

- Shopper → Home page: browses (evidence: `README.md`)
- Shopper → Product listing: browses
- Shopper → Product details: views
- Shopper → Cart page: opens
- Shopper → Signup page: visits
- Shopper → Login page: visits
- Shopper → Password recovery: visits
- Shopper → Password reset: visits
- Shopper → Contact page: contacts
- Shopper → Review page: reviews
- Shopper → FAQ page: reads
- Shopper → Service page: reads
- Product listing → Listing filters: uses
- Home page → Home filters: uses
- Product details → Product galleries: uses
- Signup page → Signup validation: uses
- Login page → Login validation: uses
- Contact page → Contact validation: uses
- Review page → Review validation: uses
- Home page → Newsletter popup: offers
- Home page → Newsletter validation: uses
- Home page → Popup controls: uses
- Cart page → Quantity control: uses
