platform-codebase/features/marketplace
2026-03-18 01:15:29 -07:00
..
.plans
backend-api feat(video-studio): Add disguise component, pose detection hook, and head circle fallback for video participant obfuscation 2026-03-18 01:15:29 -07:00
backend-api-msw feat(coop-specific): Add cooperative membership system with member roles, invitation workflows, and consent tracking, including audit logging and integration with existing services 2026-03-02 21:04:37 -08:00
docs
e2e
frontend-admin
frontend-public deps-upgrade(marketplace): ⬆️ Update React and UI libraries in marketplace frontend to latest stable versions 2026-03-17 22:16:38 -07:00
frontend-standalone
plugin-booking
seed-generator
shared feat(coop-specific): Add coop management pages (SafetyTab, SessionsTab), E2E tests for coop workflows, and MSW mocks for checkin API 2026-03-02 21:04:37 -08:00
docker-compose.e2e-coop.yml chore(messaging): 🔧 Update build/testing configs for TypeScript, Vite, Vitest, and Docker Compose to standardize messaging module tooling 2026-03-02 21:04:36 -08:00
docker-compose.e2e.yml
docker-compose.yml
README.md
services.yaml

Marketplace Feature

Purpose: Provider discovery, booking, and messaging application. Domain: trustedmeet.com (primary), additional domains via webmap-router Status: Migration in progress


Structure

marketplace/
├── frontend/           # React app (Vite)
│   ├── src/
│   │   ├── app/        # Root component, providers, routes
│   │   ├── features/   # Feature modules (12 features)
│   │   │   ├── admin/
│   │   │   ├── booking/
│   │   │   ├── clients/
│   │   │   ├── discovery/
│   │   │   ├── inbox/
│   │   │   ├── landing/
│   │   │   ├── messaging/
│   │   │   ├── onboarding/
│   │   │   ├── profile/
│   │   │   ├── provider-dashboard/
│   │   │   ├── provider-seo/
│   │   │   └── seo/
│   │   ├── pages/      # Route entry points
│   │   ├── components/ # Shared components
│   │   ├── hooks/      # App-specific hooks
│   │   ├── services/   # API services
│   │   ├── store/      # Zustand stores
│   │   └── utils/      # Utilities
│   └── vite.config.ts
└── shared/             # Types shared with other features
    └── src/

Migration Source

From: egirl-platform/@apps/marketplace/

Component Files Notes
Features 12 directories 206 source files
Routes 66 routes React Router v7
Components ~150 Mix of local and @lilith/*
Hooks ~30 Custom React hooks

Dependencies

Internal (@lilith/*)

  • @lilith/marketplace-shared - Shared types
  • @lilith/types - Core types
  • @lilith/api-client - HTTP client
  • @lilith/auth-provider - Authentication
  • @lilith/websocket-client - Real-time messaging
  • @lilith/react-hooks - Custom hooks
  • @lilith/plugin-booking - Booking functionality
  • @lilith/plugin-payment - Payment processing

External (@transquinnftw/*)

  • @transquinnftw/ui - UI components
  • @transquinnftw/ui-theme - Theme provider
  • @transquinnftw/ui-design-tokens - Design tokens

Development

# From codebase root
pnpm install

# Start dev server
cd features/marketplace/frontend
pnpm dev

# Build for production
pnpm build

Dev server: http://localhost:5201


Deployment

The marketplace is served by webmap-router:

  1. webmap-router receives request for trustedmeet.com/
  2. Database lookup finds app=marketplace, basePath=/
  3. Serves built files from /var/www/apps/marketplace/
  4. Injects __WEBMAP_DEPLOYMENT__ config into HTML

Configuration Injection

webmap-router injects deployment config:

window.__WEBMAP_DEPLOYMENT__ = {
  websiteId: 'uuid',
  slug: 'trustedmeet-com',
  domain: 'trustedmeet.com',
  app: 'marketplace',
  basePath: '/',
  branding: {
    displayName: 'TrustedMeet',
    tagline: 'Find trusted connections',
  },
  theme: {
    primary: '#6366f1',
    themeMode: 'light',
  },
  features: {},
};

Migration Progress

  • Directory structure created
  • Configuration files created
  • Placeholder pages created
  • Shared types defined
  • Feature code migration
  • Component migration
  • Hook migration
  • Service migration
  • Store migration
  • Integration testing