rswag-online/frontend
Jeff Emmett 7be99d37d0 feat: add multi-tenant spaces with Fungi Flows storefront
Add subdomain-based spaces system for branded storefronts. Each space
has its own theme, product catalog, and isolated cart via scoped
localStorage keys.

- Backend: SpaceService loads YAML configs, new /api/spaces endpoints,
  design filtering by space, CORS regex for *.rswag.online
- Frontend: Next.js middleware detects subdomain and sets space_id cookie,
  dynamic CSS variable injection for theming, space-aware API calls
- Spaces: _default (rSwag hub, cyan/orange) and fungiflows (gold/green/purple)
- Docker: Traefik wildcard HostRegexp for subdomain routing
- Designs: Placeholder Fungi Flows sticker and logo tee

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 12:20:19 -07:00
..
app feat: add multi-tenant spaces with Fungi Flows storefront 2026-02-18 12:20:19 -07:00
lib feat: add multi-tenant spaces with Fungi Flows storefront 2026-02-18 12:20:19 -07:00
public Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
Dockerfile Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
middleware.ts feat: add multi-tenant spaces with Fungi Flows storefront 2026-02-18 12:20:19 -07:00
next-env.d.ts Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
next.config.mjs Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
package.json Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
postcss.config.mjs Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
tailwind.config.ts Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
tsconfig.json Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00