rswag-online/backend/app/services
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
..
__init__.py Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
analytics_service.py Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
auth_service.py Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
cart_service.py Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
design_service.py feat: add multi-tenant spaces with Fungi Flows storefront 2026-02-18 12:20:19 -07:00
order_service.py Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00
space_service.py feat: add multi-tenant spaces with Fungi Flows storefront 2026-02-18 12:20:19 -07:00
stripe_service.py Initial commit: rSwag - merch store for the rSpace ecosystem 2026-02-18 03:24:22 -07:00