How terry395/aunty-approved works
Aunty Approved is a mobile-first CNY gift-kit shop for Singapore couples. Visitors browse kits, add them to a cart, complete checkout with a simulated payment step, and receive an order confirmation; orders are submitted to an optional Google Apps Script endpoint for Sheets storage and email. The single JavaScript file also handles date-based pricing/closure, form validation, and the Aunty Coach widget buttons. Connections reflect README statements and the shown JavaScript excerpts; the Apps Script implementation and HTML details were not sampled.
Main entry points: script.js Shop interactions · index.html Shop page · google-apps-script.gs Apps Script endpoint
Components 17
Shop experience
- Shop page
index.html - Shop interactions
script.js - Kit catalog
script.js - Date and pricing rules
script.js - Cart
script.js - Browser storage
script.js
Order checkout
- Checkout form
index.html - Form validation
script.js - Order creation
script.js - Demo payment
script.js - Order confirmation
script.js
Customer support
- Coach buttons
index.html - Chat widget detection
script.js
Order integrations
- Apps Script endpoint
google-apps-script.gs - Sheets and email
google-apps-script.gs
Other components
- Shopper
- Chat widget
Connections 17
- Shopper → Shop page: browses
README.md - Shop page → Shop interactions: loads
README.md - Shop interactions → Kit catalog: renders
README.md - Shop interactions → Date and pricing rules: applies
script.js - Shop interactions → Cart: updates
script.js - Cart → Browser storage: persists
script.js - Shopper → Checkout form: enters details
README.md - Checkout form → Form validation: validates
script.js - Shop interactions → Order creation: submits
script.js - Order creation → Demo payment: starts
script.js - Demo payment → Order creation: completes
script.js - Order creation → Apps Script endpoint: posts order
script.js - Apps Script endpoint → Sheets and email: saves and emails
README.md - Order creation → Order confirmation: shows
script.js - Shopper → Coach buttons: opens
README.md - Coach buttons → Chat widget detection: invokes
README.md - Chat widget detection → Chat widget: tries to open
README.md