How bhavanesh05/parivar-mart works
Parivar Mart is a browser-based grocery storefront. Shoppers browse or search a mock catalog, add products to a persistent cart, then enter delivery details and choose a payment option to see a simulated order confirmation. The main coordinator initializes the feature modules and connects global navigation and search. Authentication, location selection, catalog browsing, cart management, and checkout are the visible product capabilities. The README is empty; relationships below are limited to the supplied source excerpts, and the HTML pages were not sampled.
Main entry points: app.js App Coordinator · cart.js Cart Management · checkout.js Order Checkout · products.js Catalog Browsing
Components 11
Storefront Shell
- App Coordinator
js/app.js - Authentication
js/auth.js - Location Selection
js/app.js - Local Accounts
js/auth.js
Product Catalog
- Catalog Browsing
js/products.js - Mock Product Data
js/data.js
Cart
- Cart Management
js/cart.js - Saved Cart
js/cart.js
Checkout
- Order Checkout
js/checkout.js - Order Confirmation
js/checkout.js
Other components
- Shopper
Connections 22
- Shopper → App Coordinator: uses storefront
js/app.js - App Coordinator → Authentication: initializes
js/app.js - App Coordinator → Cart Management: initializes
js/app.js - App Coordinator → Catalog Browsing: initializes
js/app.js - App Coordinator → Order Checkout: initializes
js/app.js - App Coordinator → Location Selection: manages
js/app.js - App Coordinator → Catalog Browsing: routes search
js/app.js - App Coordinator → Authentication: routes profile
js/app.js - App Coordinator → Cart Management: opens drawer
js/app.js - Authentication → Local Accounts: reads and writes
js/auth.js - Shopper → Catalog Browsing: browses products
js/products.js - Catalog Browsing → Mock Product Data: renders from
js/products.js - Catalog Browsing → Cart Management: adds products
js/products.js - Cart Management → Saved Cart: loads and saves
js/cart.js - Shopper → Cart Management: manages cart
js/cart.js - Cart Management → Catalog Browsing: signals updates
js/cart.js - Shopper → Order Checkout: submits order
js/checkout.js - Order Checkout → Saved Cart: reads cart
js/checkout.js - Order Checkout → Cart Management: gets totals
js/checkout.js - Order Checkout → Authentication: checks login
js/checkout.js - Order Checkout → Cart Management: clears cart
js/checkout.js - Order Checkout → Order Confirmation: displays confirmation
js/checkout.js