How anikahmedrudra/essentra works
Essentra is a fragrance-commerce storefront with customer accounts, checkout, delivery-area selection, promotions, and administration. The principal workflow is browsing the collection, adding items to a cart, completing checkout, and receiving an order confirmation. The graph includes documented routing, popup management, and the Supabase-backed data path. The README is empty and the source excerpts are partial, so some capabilities are represented by their main implementation file without inferred links to unsampled modules.
Main entry points: router.js Page routing · script.js Cart and checkout · popups.js Popup display · popups-admin.js Popup manager
Components 16
Storefront
- Page routing
router.js - Product catalog
script.js - Scent finder
script.js
Commerce
- Delivery areas
locations.js - Cart and checkout
script.js - Orders and stock
script.js - Customer accounts
script.js
Operations
- Store administration
script.js - Popup manager
popups-admin.js - Popup offers
popups-config.js - Popup display
popups.js
Platform
- Overlay stability
fixes.js - Browser storage
- Supabase client
supabase-config.js - Supabase
Other components
- Visitor
Connections 13
- Visitor → Page routing: navigates
router.js - Page routing → Product catalog: shows collection
router.js - Page routing → Scent finder: shows finder
router.js - Page routing → Customer accounts: shows account
router.js - Page routing → Store administration: switches tab
router.js - Popup offers → Popup display: configures offers
popups.js - Popup manager → Browser storage: stores settings
popups-admin.js - Popup display → Browser storage: tracks display
popups.js - Popup display → Cart and checkout: prefills coupon
popups.js - Cart and checkout → Orders and stock: creates order
script.js - Cart and checkout → Supabase: requests confirmation
script.js - Orders and stock → Browser storage: saves orders
script.js - Supabase client → Supabase: creates client
supabase-config.js