← back to Pattern Vault

README.md

28 lines

# Pattern Vault

Digital-license storefront for Wallpaper's Back original designs — sells **licenses**
(digital single-use / commercial print / exclusive) to the seamless patterns as digital
assets. Sibling of wallpapersback.com, which sells the printed wallpaper.

## Run

```sh
npm start            # or: pm2 restart pattern-vault
open http://127.0.0.1:9779   # Basic Auth admin / DW2024!
```

- `data/catalog.json` — 24 WPB designs with license tiers (source: wallpapersback.com catalog)
- `data/license-events.jsonl` — append-only checkout/inquiry log
- `public/index.html` — grid with sort + density slider (localStorage-persisted, per DW spec)
- `scripts/build-kits.js` — regenerates `kits/` (Spoonflower / Etsy / Creative Market CSVs + images)

## Gates (Steve-only switches)

1. **Stripe TEST key** — paste an `sk_test_` key into `.env` (see `.env.example`) to turn
   inquiries into real TEST-mode checkouts. The server refuses `sk_live_` keys outright.
   Standing rail: Pattern Vault gets its **own new Stripe account** — never DW's live account.
2. **PUBLIC_VAULT=1** — drops Basic Auth and opens the site. Never set by agents.
3. **Marketplace uploads** — `kits/` CSVs are ready, but account creation + uploads are gated
   (see `kits/README.md`). Full-res 150-DPI masters live on Kamatera prod (wallco-tif) and
   pulling them is a gated prod step; the kit images are web-res previews.