How nouman-cloud/weddo-karachi-connect works
Weddo is a wedding-venue discovery and booking platform with customer, venue-manager, and admin workflows. Customers find venues, check availability, book, pay an advance and later a balance, and receive receipts; managers maintain listings and bank details, approve bookings, and verify payments. The README documents cash and bank-transfer payments, chat, reviews, featured listings, and automated deadline handling. The sampled code confirms route wiring and selected manager/payment actions; unsampled capability links are documented rather than inferred from imports.
Main entry points: App.tsx Route and auth shell · VenueManagerBookingsPanel.tsx Booking operations · client.ts Supabase services · VenueManager.tsx Manager dashboard
Components 24
Application
- Route and auth shell
src/App.tsx
Customer experience
- Venue discovery
src/pages/Venues.tsx - Venue detail
src/pages/VenueDetail.tsx - Availability calendar
src/pages/Calendar.tsx - Booking workflow
src/pages/Booking.tsx - Customer profile
src/pages/Profile.tsx - Venue reviews
src/components/VenueReviewForm.tsx
Venue operations
- Manager dashboard
src/pages/VenueManager.tsx - Venue management
src/components/venue-manager/VenueManagerVenuesPanel.tsx - Booking operations
src/components/venue-manager/VenueManagerBookingsPanel.tsx - Bank account setup
src/components/venue-manager/MultiBankAccountManager.tsx - Booking chat
src/components/BookingChat.tsx - Admin console
src/pages/Admin.tsx - Featured listings
src/components/venue-manager/FeaturedPaymentTab.tsx
Payments and platform
- Payment logic
src/hooks/usePayment.ts - Cash payment stages
src/lib/cashPayments.ts - Payment receipts
src/components/BookingReceipt.tsx - Deadline cancellation
supabase/functions/check-payment-deadlines/index.ts - Supabase services
src/integrations/supabase/client.ts - Bank payment function
supabase/functions/bank-payment/index.ts - HBL payment function
supabase/functions/hbl-payment/index.ts
Other components
- Customer
- Venue manager
- Admin team
Connections 36
- Customer → Route and auth shell: opens
src/App.tsx - Venue manager → Route and auth shell: opens
src/App.tsx - Admin team → Route and auth shell: opens
src/App.tsx - Route and auth shell → Venue discovery: routes to
src/App.tsx - Route and auth shell → Venue detail: routes to
src/App.tsx - Route and auth shell → Booking workflow: routes to
src/App.tsx - Route and auth shell → Customer profile: routes to
src/App.tsx - Route and auth shell → Availability calendar: routes to
src/App.tsx - Venue discovery → Venue detail: selects venue
- Venue detail → Availability calendar: checks dates
- Customer → Venue discovery: searches venues
- Customer → Booking workflow: books date
- Customer → Venue reviews: writes review
- Booking workflow → Payment logic: submits payment
- Booking workflow → Booking chat: opens chat
- Booking workflow → Payment receipts: receives receipt
- Manager dashboard → Booking operations: renders
src/pages/VenueManager.tsx - Manager dashboard → Venue management: renders
src/pages/VenueManager.tsx - Manager dashboard → Bank account setup: renders
src/pages/VenueManager.tsx - Manager dashboard → Featured listings: renders
src/pages/VenueManager.tsx - Venue manager → Manager dashboard: manages listings
- Venue manager → Booking operations: approves bookings
- Booking operations → Cash payment stages: applies cash stage
src/components/venue-manager/VenueManagerBookingsPanel.tsx - Booking operations → Supabase services: updates booking
src/components/venue-manager/VenueManagerBookingsPanel.tsx - Booking operations → Payment receipts: ensures receipt
src/components/venue-manager/VenueManagerBookingsPanel.tsx - Bank account setup → Supabase services: stores account
src/components/venue-manager/MultiBankAccountManager.tsx - Payment logic → Supabase services: uses client
src/hooks/usePayment.ts - Cash payment stages → Supabase services: uses client
src/lib/cashPayments.ts - Customer → Payment logic: pays by transfer
- Venue manager → Booking operations: verifies transfer
- Payment logic → Bank payment function: invokes bank flow
- Payment logic → HBL payment function: supports HBL flow
- Admin team → Admin console: reviews operations
- Admin console → Featured listings: approves featured
- Deadline cancellation → Supabase services: checks deadlines
- Featured listings → Supabase services: records listing