Halloway & Co.: a mobile storefront you can install
A mobile-first shop for a canvas and leather workshop. It installs to a phone like an app and keeps working offline. Search and filters, product pages that know what's sold out, a cart with discount codes, a wishlist, and a checkout that takes no payment, all in plain JavaScript with 39 tests.
A closer look





What's in it
- 14 example products in 4 categories, with instant search, category chips, a filter sheet (price, color, in stock) and sorting
- Product pages with a swipeable gallery, color and size pickers that know which combinations are sold out, low-stock messages and a quantity stepper
- A cart with quantity edits, undo on remove, discount codes with clear messages, a free-shipping bar and live totals for discount, shipping and estimated tax
- A wishlist, a three-step demo checkout with inline validation and an error summary, and an order confirmation
- Cart, wishlist and demo orders saved on the device and synced across tabs
- Installable with a web app manifest and icons, and works offline through a service worker
- Keyboard friendly with labeled controls, visible focus, live announcements and reduced-motion support
- Plain JavaScript modules, no framework and no outside requests; product pictures are SVG illustrations drawn for it
- 39 tests with Node's built-in runner covering pricing, discounts, shipping, tax rounding, search and filters, the cart and the offline file list