← back to Patterndesignlab
README.md
33 lines
# patterndesignlab.com
A modern seamless-pattern licensing marketplace — the "beat Patternbank" build.
Fresh standalone Express + Postgres app (DTD Option A). LOCAL-ONLY until Steve
flips it public.
## Compliance
Content comes **only** from OWNED, settlement-passed designs (seeded from the
Pattern Vault catalog). The `patternbank-archive` scrape is compliance-LOCKED
and is NEVER read, served, imported, or referenced here.
## Stack
- Express server (`server.js`) on port **9781**, pm2 process `patterndesignlab`.
- Postgres database **`patterndesignlab`** (separate DB on the local dw_unified
server — never writes dw_unified/shopify tables).
- Basic-auth-until-public gate (`admin` / `DW2024!`), `PUBLIC` flag default OFF.
- Stripe **TEST-mode only**; `sk_live_` keys are refused (money is Steve-gated).
## Run
```sh
npm install
npm run schema # create tables
npm run seed # load owned designs + designers
pm2 start server.js --name patterndesignlab
```
## Routes
- `/` marketplace (search, faceted filters, DW sort + density)
- `/design/:id` product detail (tile-on-wall preview, license tiers)
- `/designer/:slug` designer portfolio
- `/admin` design list (created date+time per card)
- `/api/healthz`