How panglimabesarisis-cloud/emirate-artist-match works
Emirate Artist Match appears to be an artist-discovery and booking marketplace, with authenticated tools for managing bookings and business operations. The likely customer journey is browsing and filtering artists, viewing a profile, then requesting or paying for a booking; the tree also shows distinct payment, messaging, AI-flow, and MCP capabilities. The README gives little product detail, and several key routes and libraries were not sampled, so links for those workflows are shown only as unverified rather than asserted calls.
Main entry points: client.server.ts Supabase · SearchPage.tsx Artist search · fonnte-webhook.ts WhatsApp webhook · fonnte-webhook.server.ts Fonnte processing
Components 22
Artist discovery
- Artist search
src/components/site/SearchPage.tsx - Listing filters
src/components/site/ListingSearch.tsx - Artist cards
src/components/site/ListingArtistCard.tsx - Artist profile
src/routes/artist.$slug.tsx - Public data API
src/lib/public.functions.ts
Booking operations
- Talent onboarding
src/routes/join.tsx - Business dashboard
src/routes/_authenticated/dashboard.tsx - Booking operations
src/lib/bookings.functions.ts - Payment webhook
src/routes/api/public/payments/webhook.ts - Payment events
src/lib/payment-events.server.ts - Chat flow builder
src/components/flow/FlowBuilder.tsx - AI flow logic
src/lib/ai-flow.ts
External integrations
- Supabase
src/integrations/supabase/client.server.ts - WhatsApp webhook
src/routes/api/public/whatsapp/fonnte-webhook.ts - Fonnte processing
src/lib/fonnte-webhook.server.ts - WhatsApp provider
src/lib/whatsapp-provider.server.ts
Access and tools
- Authentication
src/routes/auth.tsx - Authenticated routes
src/routes/_authenticated/route.tsx - MCP tools
src/lib/mcp/index.ts - Application router
src/router.tsx - Route registry
src/routeTree.gen.ts
Other components
- Visitor
Connections 19
- Visitor → Artist search: browses
- Artist search → Listing filters: renders
src/components/site/SearchPage.tsx - Artist search → Artist cards: renders
src/components/site/SearchPage.tsx - Artist search → Public data API: queries
src/components/site/SearchPage.tsx - Visitor → Artist profile: opens profile
- Artist profile → Talent onboarding: requests booking
- Talent onboarding → Supabase: submits details
- Business dashboard → Booking operations: manages bookings
- Payment webhook → Payment events: dispatches
src/routes/api/public/payments/webhook.ts - Payment webhook → Supabase: uses admin client
- WhatsApp webhook → Fonnte processing: authenticates and processes
src/routes/api/public/whatsapp/fonnte-webhook.ts - WhatsApp webhook → WhatsApp provider: checks provider
src/routes/api/public/whatsapp/fonnte-webhook.ts - WhatsApp webhook → Supabase: stores events
src/routes/api/public/whatsapp/fonnte-webhook.ts - Fonnte processing → WhatsApp provider: reads configuration
src/lib/fonnte-webhook.server.ts - Fonnte processing → Supabase: persists workflow
src/lib/fonnte-webhook.server.ts - Chat flow builder → AI flow logic: uses flow logic
- Authentication → Supabase: authenticates
src/routes/auth.tsx - Authenticated routes → Supabase: checks user
src/routes/_authenticated/route.tsx - Application router → Route registry: loads routes
src/router.tsx