How carilloandrei9264/team-idle works
TrustHome PH is a Philippine rental marketplace combining document-reviewed listings, bookings, trust and dispute accountability, and a curated bank-property catalog. The main user journey is browsing a listing, requesting a booking, completing the booking and rating it; owners submit listings for review, while admins verify listings and handle disputes. Bank-property data is maintained separately by a scraper and surfaced in the catalog. README documentation establishes several capabilities whose page implementations were not sampled, so their internal wiring is represented conservatively.
Main entry points: App.jsx Route application · worker.py Scraper worker · AdminListings.jsx Listing review · scraper.py Bank scraper
Components 26
Marketplace web app
- Route application
src/App.jsx - Browse listings
src/pages/Browse.jsx - Listing details
src/pages/ListingDetail.jsx - Listing management
src/pages - Booking workflow
src/pages
Verification and trust
- Ratings and reviews
src/pages/RatingForm.jsx - Dispute reporting
src/pages/RaiseDispute.jsx - Listing review
src/admin/AdminListings.jsx - Trust scoring
src/lib/trustScore.js - Public profiles
src/pages/PublicProfile.jsx
Bank property catalog
- Bank catalog
src/pages/BankCatalog.jsx - Bank property details
src/pages/BankPropertyDetail.jsx - Loan calculator
src/lib/loanCalculator.js - Bank scraper
bank_scraper/scraper.py - Scraper data access
bank_scraper/database.py - Scraper worker
bank_scraper/worker.py
Firebase services
- Authentication context
src/context/AuthContext.jsx - Firebase client setup
src/firebase.js - Firestore
- Firebase Authentication
- Scheduled booking and score jobs
functions/index.js
Other components
- Renter or buyer
- Homeowner
- Administrator
- Cloudinary
- Bank property sources
Connections 35
- Renter or buyer → Route application: opens marketplace
- Homeowner → Route application: opens marketplace
- Administrator → Route application: opens admin
- Route application → Browse listings: routes to
- Route application → Listing details: routes to
- Route application → Listing management: routes to
- Route application → Booking workflow: routes to
- Route application → Ratings and reviews: routes to
- Route application → Dispute reporting: routes to
- Route application → Bank catalog: routes to
- Route application → Bank property details: routes to
- Route application → Public profiles: routes to
- Route application → Listing review: routes to
- Browse listings → Firestore: reads listings
- Booking workflow → Firestore: manages bookings
- Ratings and reviews → Firestore: stores ratings
- Dispute reporting → Firestore: stores disputes
- Listing review → Firestore: updates review status
- Listing review → Firestore: writes notifications
- Authentication context → Firebase Authentication: observes auth state
- Authentication context → Firestore: subscribes to profile
- Firebase client setup → Firestore: configures client
- Firebase client setup → Firebase Authentication: configures client
- Listing management → Cloudinary: uploads documents
- Bank catalog → Firestore: reads catalog
- Bank property details → Loan calculator: calculates financing
- Bank property sources → Bank scraper: provides listings
- Bank scraper → Scraper data access: upserts properties
- Scraper data access → Firestore: writes bank properties
- Scraper worker → Scraper data access: loads queued jobs
- Scraper worker → Bank scraper: runs bank scrapes
- Scraper worker → Trust scoring: recomputes scores
- Trust scoring → Firestore: stores trust scores
- Scheduled booking and score jobs → Firestore: updates expired bookings
- Scheduled booking and score jobs → Firestore: recomputes trust scores