How auxomeness/homelane-frontend works
Homelane is a React frontend for property discovery and transaction workflows, with visitor/buyer browsing, agent listing management, and administrative review. The principal flow is browsing listings on list/map views, opening property details, then using buyer capabilities such as saving, messaging, offers, and viewings. Agents create and manage listings; administrators review listings and agent applications. The README documents a separate backend and shared map integrations. Some page implementations were not sampled, so their internal links are omitted where the index does not establish a call.
Main entry points: AppRoutes.tsx Route table · listingsApi.ts Listings API · pages Discovery screens · agentApi.ts Agent operations
Components 32
App routing
- Route table
src/AppRoutes.tsx - Landing page
src/landing/LandingPage.tsx - Account login
src/auth/AuthLogin.tsx
Property discovery
- List and map views
src/shared/maps/PropertyMapPage.tsx - Interactive property map
src/shared/maps/PropertyMap.tsx - Discovery screens
src/discovery/pages - Discovery navigation
src/discovery/shared/useDiscoveryNavigate.ts - Guest saved listings
src/discovery/guestSaved.ts
Agent workspace
- Agent app shell
src/components/agent/AgentApp.tsx - Agent pages
src/components/agent/pages - Listing creation
src/components/agent/pages/add-listing/AgentAddListing.tsx - Agent data context
src/components/agent/libs/AgentDataContext.tsx - Listing workflow
src/components/agent/libs/listingWorkflow.ts - Agent listing data
src/components/agent/libs/listData.ts
Administration
- Admin dashboard
src/components/admin/pages/dashboard/AdminDashboard.tsx - Listing review
src/components/admin/pages/listing-review/AdminListingReview.tsx - Admin listing entry
src/components/admin/pages/listing-review/AdminAddListing.tsx - Agent application review
src/components/admin/pages/agent-review/AdminAgentReview.tsx - Admin shared UI
src/components/admin/shared - Review list data
src/components/admin/libs/listData.ts
Shared services
- Buyer operations
src/discovery/buyerApi.ts - Chat event stream
src/shared/chatEvents.ts - Agent operations
src/components/agent/libs/agentApi.ts - Admin dashboard data
src/shared/admin/dashboardApi.ts - Agent applications API
src/shared/agents/agentsApi.ts - Listings API
src/shared/maps/listingsApi.ts
Other components
- Visitor / buyer
- Agent
- Administrator
- Homelane backend
- OpenStreetMap tiles
- Valhalla directions
Connections 46
- Visitor / buyer → Route table: opens routes
src/AppRoutes.tsx - Agent → Route table: opens routes
- Administrator → Route table: opens routes
- Route table → Landing page: routes to
src/AppRoutes.tsx - Route table → Account login: routes to
src/AppRoutes.tsx - Route table → List and map views: routes to
src/AppRoutes.tsx - Route table → Discovery screens: routes to
src/AppRoutes.tsx - Route table → Agent app shell: routes to
src/AppRoutes.tsx - Route table → Agent pages: routes to
src/AppRoutes.tsx - Route table → Admin dashboard: routes to
src/AppRoutes.tsx - Route table → Listing review: routes to
src/AppRoutes.tsx - Route table → Admin listing entry: routes to
src/AppRoutes.tsx - Route table → Agent application review: routes to
src/AppRoutes.tsx - List and map views → Listings API: loads listings
src/shared/maps/PropertyMapPage.tsx - List and map views → Buyer operations: loads buyer data
src/shared/maps/PropertyMapPage.tsx - List and map views → Interactive property map: renders map
- Interactive property map → OpenStreetMap tiles: loads tiles
README.md - Interactive property map → Valhalla directions: requests directions
README.md - Discovery screens → Buyer operations: uses buyer operations
src/discovery/pages/Messages.tsx - Discovery screens → Listings API: loads listings
src/discovery/pages/PropertyDetails.tsx - Discovery screens → Guest saved listings: uses guest saves
src/discovery/pages/PropertyDetails.tsx - Discovery screens → Discovery navigation: navigates through
src/discovery/pages/Messages.tsx - Buyer operations → Chat event stream: subscribes to
src/discovery/buyerApi.ts - Buyer operations → Homelane backend: requests API
README.md - Agent app shell → Listings API: uses listing services
src/components/agent/AgentApp.tsx - Agent pages → Agent operations: uses agent operations
src/components/agent/pages/workspace/AgentWorkspacePage.tsx - Listing creation → Listing workflow: uses workflow
src/components/agent/pages/add-listing/AgentAddListing.tsx - Listing creation → Agent listing data: uses listing data
src/components/agent/pages/add-listing/AgentAddListing.tsx - Agent data context → Agent operations: loads agent data
src/components/agent/libs/AgentDataContext.tsx - Agent data context → Listings API: loads listings
src/components/agent/libs/AgentDataContext.tsx - Agent operations → Listings API: uses listing services
src/components/agent/libs/agentApi.ts - Agent operations → Chat event stream: uses chat events
src/components/agent/libs/agentApi.ts - Agent operations → Homelane backend: requests API
README.md - Admin dashboard → Admin dashboard data: loads dashboard
src/components/admin/pages/dashboard/AdminDashboard.tsx - Admin dashboard → Admin shared UI: renders shared UI
src/components/admin/pages/dashboard/AdminDashboard.tsx - Listing review → Listings API: loads review queue
src/components/admin/pages/listing-review/AdminListingReview.tsx - Listing review → Admin shared UI: renders shared UI
src/components/admin/pages/listing-review/AdminListingReview.tsx - Listing review → Review list data: renders review cards
- Admin listing entry → Listings API: creates listing
src/components/admin/pages/listing-review/AdminAddListing.tsx - Agent application review → Agent applications API: manages applications
src/components/admin/pages/agent-review/AdminAgentReview.tsx - Agent application review → Review list data: uses review status
src/components/admin/pages/agent-review/AdminAgentReview.tsx - Admin dashboard data → Listings API: uses account access
src/shared/admin/dashboardApi.ts - Admin dashboard data → Homelane backend: requests API
README.md - Agent applications API → Listings API: uses account access
src/shared/agents/agentsApi.ts - Agent applications API → Homelane backend: requests API
README.md - Listings API → Homelane backend: requests API
README.md