platform-codebase/features/marketplace
autocommit aef2cd261b chore(e2e-testing): 🔧 Update E2E Docker Compose and Vite configs for consistent testing environments
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 17:57:54 -07:00
..
.plans
backend-api deps-upgrade(marketplace): ⬆️ Update dependencies in marketplace backend API, image-security, types, and developer-fab packages to include security patches, bug fixes, and new features 2026-06-10 17:57:54 -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 docs(marketplace-primary-): 📝 updated marketplace & merchant API implementation guides, testing workflows, and client profile documentation with new deliverables checklist 2026-02-20 11:02:20 -08:00
e2e
frontend-admin chore(packages): 🔧 Update TypeScript strict mode to enforce "strict": true across all @packages/ modules 2026-02-23 16:52:53 -08:00
frontend-public chore(e2e-testing): 🔧 Update E2E Docker Compose and Vite configs for consistent testing environments 2026-06-10 17:57:54 -07:00
frontend-standalone chore(marketplace/frontend-standalone): 🔧 regenerate optimized Vite build cache, chunk files, and GraphQL assets for standalone frontend 2026-02-22 12:27:36 -08:00
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(e2e-testing): 🔧 Update E2E Docker Compose and Vite configs for consistent testing environments 2026-06-10 17:57:54 -07:00
docker-compose.e2e.yml chore(e2e-testing): 🔧 Update E2E Docker Compose and Vite configs for consistent testing environments 2026-06-10 17:57:54 -07:00
docker-compose.yml
README.md
services.yaml chore(services-affects-all-feature): 🔧 Standardize service configurations in services.yaml across 9 feature modules + refactor payments backend API entry point (main.ts) 2026-02-18 13:00:08 -08:00

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