How harifaka/house-hunt works
House Hunt is a bilingual property-inspection and research web app. A user manages a house, completes a weighted inspection with saved answers and photos, then reviews scores or exports a report; the property finder adds listing and city research. The graph includes the documented calculator, AI-analysis, and collaboration capabilities. Source excerpts establish several route-to-service calls; README statements support documented storage and product flows. Unsampled routes and integrations are represented only where their relationships are documented or visible in the source index.
Main entry points: app.js Express app · database.js D1 access layer · home.js House management · quiz.js Inspection workflow
Components 20
Web experience
- Express app
app.js - Web screens
views - Legal pages
src/routes/legal.js
House inspections
- House management
src/routes/home.js - Inspection workflow
src/routes/quiz.js - Question scoring
src/questions.js - House and export API
src/routes/api.js - Admin and reports
src/routes/admin.js - Image handling
src/image-service.js
Property research
- Property finder
src/routes/property-finder.js - Listing scraper
src/scraper.js - Energy and heating
src/routes/calculators.js - Listing websites
Services and storage
- AI analysis
src/ai-service.js - D1 access layer
src/database.js - Cloudflare D1
- Cloudflare R2
- Vision and AI provider
- Audit logging
src/logger.js
Other components
- House hunter
Connections 34
- House hunter → Express app: uses
README.md - Express app → House management: mounts
app.js - Express app → Inspection workflow: mounts
app.js - Express app → House and export API: mounts
app.js - Express app → Admin and reports: dispatches
app.js - Express app → Energy and heating: mounts
app.js - Express app → Property finder: mounts
app.js - Express app → Legal pages: mounts
app.js - House management → Web screens: renders
- Inspection workflow → Web screens: renders
- House management → D1 access layer: reads and writes
src/routes/home.js - House management → Question scoring: scores with
src/routes/home.js - House management → Image handling: uploads and deletes
src/routes/home.js - Inspection workflow → D1 access layer: reads and writes
src/routes/quiz.js - Inspection workflow → Question scoring: scores with
src/routes/quiz.js - Inspection workflow → Image handling: uploads to
src/routes/quiz.js - House and export API → D1 access layer: reads and writes
src/routes/api.js - House and export API → Question scoring: uses scoring
src/routes/api.js - House and export API → AI analysis: invokes
src/routes/api.js - Admin and reports → D1 access layer: uses
src/routes/admin.js - Admin and reports → Question scoring: uses
src/routes/admin.js - Property finder → Listing scraper: scrapes and searches
src/routes/property-finder.js - Property finder → D1 access layer: reads and writes
src/routes/property-finder.js - Property finder → AI analysis: requests analysis
src/routes/property-finder.js - Listing websites → Listing scraper: provides listings
- Energy and heating → D1 access layer: reads and writes
src/routes/calculators.js - Energy and heating → AI analysis: requests analysis
src/routes/calculators.js - Image handling → Cloudflare R2: stores photos
src/image-service.js - AI analysis → D1 access layer: loads and saves
src/ai-service.js - AI analysis → Vision and AI provider: sends analysis
src/ai-service.js - D1 access layer → Cloudflare D1: queries over HTTPS
README.md - Audit logging → D1 access layer: persists audit logs
src/logger.js - House management → Audit logging: audits activity
src/routes/home.js - Inspection workflow → Audit logging: audits activity
src/routes/quiz.js