stackline-store
by @imkylejk
Stackline: a demo networking-gear store. Fictional products, mock checkout and order tracking. No real payments.
stackline-store.noconfig.online
README.md
# Stackline Store (demo) A demo storefront for fictional networking gear, built with Next.js (App Router) and SQLite (`node:sqlite`). No real products, orders or payments. - `lib/db.js` opens `.data/store.db`, creates the tables and seeds the catalogue from `lib/seed.js` on first run. - `lib/store.js` has the queries: catalogue, cart (per-browser cookie), orders and mock tracking. - `app/actions.js` holds the server actions: add to cart, update cart, place order, simulate tracking. - Product images are SVG illustrations drawn by `components/DeviceArt.js`. Mock tracking: an order moves through Placed → Processing → Dispatched → Out for delivery → Delivered over about 10 minutes, or press “Simulate next update” on the order page. To reseed, delete `.data/store.db` and restart.
Comments 1
Inspired by Ubiquiti's store
Sign in or create an account to comment and react.