How mohamedsoultan/rawabet---real-estate-marketplace works
Rawabet is a real-estate brokerage frontend for browsing and matching properties, submitting listings, and handling customer and staff workflows. The primary journey begins with guided search or property browsing, proceeds through property details and viewing requests, and is supported by seller submission and internal review/lead-management workspaces. The map also includes shared app state, filtering, authentication, and API infrastructure. Source excerpts establish the app shell and several imports; README capabilities preserve broader role-based workflows where implementation details were not sampled.
Main entry points: AppRoutes.tsx Route dispatch · App.tsx Application entry · MainLayout.tsx Main layout · StartRoute.tsx Guided search
Components 26
App shell
- Application entry
src/App.tsx - Route dispatch
src/routes/AppRoutes.tsx - Main layout
src/layouts/MainLayout.tsx
Property discovery
- Home experience
src/routes/HomeRoute.tsx - Guided search
src/routes/StartRoute.tsx - Filter engine
src/services/filterEngine.ts - Property listings and details
src/routes/PropertiesRoute.tsx - Property cards
src/components/public/PropertyCard.tsx - Quick property preview
src/components/public/PropertyPreviewModal.tsx - Viewing requests
src/components/public/RequestViewingModal.tsx - Search no-match guidance
src/components/public/SmartSearchNoMatchModal.tsx
Brokerage operations
- Seller dashboard and submission
src/components/seller/SellerDashboard.tsx - Property submission wizard
src/components/seller/PropertyWizardModal.tsx - Property review queue
src/components/admin/ReviewQueueView.tsx - Admin and staff workspaces
src/components/admin - Sales lead workspace
src/components/internal/sales
Platform services
- Authentication UI
src/components/auth/AuthModal.tsx - Shared application state
src/context/AppContext.tsx - Initial platform data
src/data/initialData.ts - API client and endpoints
src/api - Environment configuration
src/config/env.ts - Toast notifications
src/components/ui/Toast.tsx - Error boundary
src/components/common/ErrorBoundary.tsx - Modal accessibility
src/utils/useModalA11y.ts
Other components
- Guest or customer
- Backend services
Connections 26
- Application entry → Shared application state: provides state
src/App.tsx - Application entry → Toast notifications: provides toasts
src/App.tsx - Application entry → Route dispatch: renders routes
src/App.tsx - Application entry → Error boundary: wraps app
src/App.tsx - Route dispatch → Main layout: routes through
src/routes/AppRoutes.tsx - Route dispatch → Home experience: routes to
src/routes/AppRoutes.tsx - Route dispatch → Guided search: routes to
src/routes/AppRoutes.tsx - Route dispatch → Property listings and details: routes to
src/routes/AppRoutes.tsx - Main layout → Quick property preview: opens preview
src/layouts/MainLayout.tsx - Main layout → Authentication UI: renders modal
src/layouts/MainLayout.tsx - Main layout → Property submission wizard: opens wizard
src/layouts/MainLayout.tsx - Guest or customer → Route dispatch: browses
- Home experience → Property cards: renders cards
src/routes/HomeRoute.tsx - Guided search → Filter engine: uses filters
src/routes/StartRoute.tsx - Guided search → Search no-match guidance: shows guidance
src/routes/StartRoute.tsx - Quick property preview → Viewing requests: opens request
src/components/public/PropertyPreviewModal.tsx - Seller dashboard and submission → Property submission wizard: starts submission
- Property review queue → Admin and staff workspaces: supports review role
- Sales lead workspace → Admin and staff workspaces: supports sales role
- Authentication UI → Shared application state: uses shared state
src/components/auth/AuthModal.tsx - Shared application state → Initial platform data: initializes from
src/context/AppContext.tsx - API client and endpoints → Backend services: sends API requests
- API client and endpoints → Environment configuration: configures base URL
src/api/client.ts - Guest or customer → Seller dashboard and submission: submits listings
- Guest or customer → Viewing requests: requests viewing
- Modal accessibility → Authentication UI: supports modal
src/components/auth/AuthModal.tsx