How nihalakasmooth/chips-web works
This is a browser-based storefront for Obsidian snack products, with a separate admin page for managing custom products. Shoppers browse and search products, use cart and favorites, and access product details and simulated account flows; admins unlock a panel to add or remove products and view dashboard counts. Both pages use browser storage rather than a shown backend. The README is empty, and the HTML/CSS and portions of storefront code were not sampled, so links are limited to relationships visible in the JavaScript excerpts.
Main entry points: eg-website.html Storefront UI · admin.js Admin Panel · eg-website.js Product Catalog · admin.html Admin Interface
Components 16
Customer Storefront
- Storefront UI
Website/eg-website.html - Product Catalog
Website/eg-website.js - Product Search
Website/eg-website.js - Product Details
Website/eg-website.js - Shopping Cart
Website/eg-website.js - Favorites
Website/eg-website.js - Customer Accounts
Website/eg-website.js
Product Administration
- Admin Panel
Website/admin.js - Admin Interface
Website/admin.html - Product Management
Website/admin.js - Admin Dashboard
Website/admin.js
Browser State
- Custom Product Storage
Website/admin.js - Cart Storage
Website/eg-website.js - Order Storage
Website/admin.js - Admin Session State
Website/admin.js
Other components
- Shopper
Connections 16
- Shopper → Storefront UI: uses
- Storefront UI → Product Catalog: loads
- Product Catalog → Custom Product Storage: reads
Website/eg-website.js - Storefront UI → Product Search: offers
- Storefront UI → Product Details: offers
- Storefront UI → Shopping Cart: offers
- Shopping Cart → Cart Storage: writes
Website/eg-website.js - Storefront UI → Favorites: offers
- Storefront UI → Customer Accounts: offers
- Admin Interface → Admin Panel: loads
- Admin Panel → Admin Session State: reads writes
Website/admin.js - Admin Panel → Product Management: dispatches
Website/admin.js - Product Management → Custom Product Storage: reads writes
Website/admin.js - Admin Panel → Admin Dashboard: refreshes
Website/admin.js - Admin Dashboard → Order Storage: reads
Website/admin.js - Admin Dashboard → Custom Product Storage: reads
Website/admin.js