← back to Sample Box

README.md

20 lines

# Project

Scaffolded by the Claude web-dev accelerator. Storefront starter with a
server-side-sorted product grid + density slider (both persist in localStorage).

## Run
```bash
PORT=3900 node server.js                                # open http://localhost:3900
BASIC_AUTH="admin:DW2024!" PORT=3900 node server.js     # gated
```

## Fill it in
- `data/products.json` — array of `{ title, sku, price, hex, image }`.
- `server.js` `sortProducts()` — add sort modes as needed.
- `public/index.html` — the grid + controls.

## Preview publicly
From the accelerator dir: `scripts/preview-tunnel.sh <slug> <port>` stands up
`<slug>.agentabrams.com` (basic-auth gated). The DNS step is Steve-gated.