How dubaiguide-biz/dubaiguide works
DubaiGuide is a Dubai advice and matching website. Users choose a property, business-setup, or credit-card quiz, receive an AI-generated recommendation and relevant links, and can submit contact details for follow-up. The main internal layer is the server-side matching endpoint, which prepares prompts, calls Anthropic, and formats results. The README documents property and business quizzes; the sampled matcher also supports credit cards. Guide pages provide a separate informational branch. Frontend and guide contents were not sampled, so some connections are left unverified.
Main entry points: match.js Recommendation handler · quiz.js Quiz interactions · property/index.html Property quiz · business/index.html Business quiz
Components 18
Website
- Home page
index.html - Property quiz
property/index.html - Business quiz
business/index.html - Credit-card quiz
credit-cards/index.html - Quiz interactions
assets/quiz.js
Matching
- Recommendation handler
api/match.js - Anthropic API
- Bayut listings and market data
- Business setup links
api/match.js - Card application links
api/match.js
Lead follow-up
- Lead submission
assets/quiz.js - Lead handler
api/lead.js - Resend email
Guides and information
- Property guides
property/guides - Business guides
business/guides - About
about/index.html - Privacy policy
privacy-policy/index.html
Other components
- Site visitor
Connections 19
- Site visitor → Home page: visits
README.md - Site visitor → Property quiz: takes quiz
README.md - Site visitor → Business quiz: takes quiz
README.md - Site visitor → Credit-card quiz: takes quiz
- Property quiz → Quiz interactions: uses interactions
- Business quiz → Quiz interactions: uses interactions
- Credit-card quiz → Quiz interactions: uses interactions
- Quiz interactions → Recommendation handler: requests match
- Recommendation handler → Anthropic API: requests recommendation
api/match.js - Recommendation handler → Bayut listings and market data: builds listing links
api/match.js - Recommendation handler → Business setup links: builds setup links
api/match.js - Recommendation handler → Card application links: builds card links
api/match.js - Quiz interactions → Lead submission: collects contact
- Lead submission → Lead handler: submits lead
- Lead handler → Resend email: sends email
api/lead.js - Site visitor → Property guides: reads guides
- Site visitor → Business guides: reads guides
- Site visitor → About: visits
- Site visitor → Privacy policy: visits