How koradajnaneswara-tech/shopping-website works
UrbanCart is a static, browser-only storefront. Customers browse and filter products, inspect details, manage a cart or wishlist, and submit a simulated checkout; account and order-history features are separate branches. JavaScript modules share product data and browser storage rather than a backend. The tree contains both root-level files and a shopping website/ copy; the graph shows the sampled root implementation and calls out the separately indexed product catalog. Unsampled page wiring is represented only where the README documents the capability.
Main entry points: cart.js Cart engine · auth.js Account logic · checkout.js Checkout flow · shop.html Shop page
Components 19
Storefront & Discovery
- Home page
index.html - Shop page
shop.html - Product catalog
js/products.js - Product details
js/product-details.js - Site interactions
js/script.js - Copy catalog
shopping website/js/products.js
Shopping & Checkout
- Cart page
cart.html - Cart engine
js/cart.js - Wishlist page
wishlist.html - Wishlist engine
js/wishlist.js - Checkout flow
js/checkout.js - Checkout page
checkout.html
Accounts & Orders
- Registration
register.html - Login
login.html - Account dashboard
account.html - Order history
orders.html - Account logic
js/auth.js
Shared Browser State
- Browser storage
Other components
- Customer
Connections 25
- Customer → Home page: browses
Readme.md - Customer → Shop page: searches
Readme.md - Shop page → Product catalog: filters and sorts
Readme.md - Product catalog → Cart engine: adds items
js/cart.js - Customer → Product details: views details
Readme.md - Product details → Cart engine: adds quantity
js/product-details.js - Customer → Cart page: reviews cart
Readme.md - Cart page → Cart engine: manages items
Readme.md - Customer → Wishlist page: saves products
Readme.md - Wishlist page → Wishlist engine: manages wishlist
Readme.md - Customer → Checkout page: checks out
Readme.md - Checkout page → Checkout flow: validates order
Readme.md - Checkout flow → Cart engine: reads and clears
js/checkout.js - Checkout flow → Order history: confirms order
js/checkout.js - Customer → Registration: registers
Readme.md - Customer → Login: signs in
Readme.md - Registration → Account logic: submits form
Readme.md - Login → Account logic: submits form
Readme.md - Account dashboard → Account logic: manages account
Readme.md - Order history → Account logic: shows history
Readme.md - Cart engine → Browser storage: persists cart
js/cart.js - Wishlist engine → Browser storage: persists wishlist
js/wishlist.js - Checkout flow → Browser storage: persists orders
js/checkout.js - Account logic → Browser storage: persists users and session
js/auth.js - Site interactions → Shop page: routes search
js/script.js