8 Commits

Author SHA1 Message Date
drjones
3037f3c996 real middleman: BTCPay payment gate + webhook + Printful adapter + checkout redirect 2026-08-26 16:52:04 -07:00
drjones
f2482c72fb de-demo: scrub 'demo' copy, rename sample supplier -> Meridian Distribution, real product images 2026-08-26 16:40:28 -07:00
drjones
874a24fbf5 security: gate analytics/orders/suppliers/customers behind admin JWT; sanitize public order tracking 2026-08-26 16:37:30 -07:00
drjones
e1addcc956 integration: full compose (api+worker+frontend) + README 2026-08-25 20:42:05 -07:00
drjones
96b4fcaac9 Add Polaris FastAPI backend: models/schemas, pricing+scoring+order router, importer, Celery tasks, API routers, seed script 2026-08-25 20:37:58 -07:00
drjones
8573554bf9 Fix mobile hero overflow; mock: publish 5 products for richer storefront demo 2026-08-25 20:35:14 -07:00
drjones
b09dcfd929 Add Polaris frontend: storefront + admin console (React 18/Vite/TS/Tailwind)
- Shared src/lib/api.ts fetch wrapper -> /api with Cache-Control: no-store
- Storefront: home hero, shop grid (category filter + search), product detail,
  cart, checkout (POST /api/orders -> confirmation + order number), order tracking
- Admin: JWT login, today KPI dashboard (revenue/orders/gross/net/margin/aov/refunds),
  top products, supplier performance, product import, lifecycle view, order list
  with tracking simulation
- Multi-stage Dockerfile (Vite build -> nginx static + /api proxy -> api:8000)
- nginx.conf with SPA fallback and no-store HTML caching
- mock/mock_api.py for local verification (excluded from image)
2026-08-25 20:28:26 -07:00
drjones
035bb3a2e9 scaffold: schema, compose, contract 2026-08-25 20:02:23 -07:00