How awalkhan80/dsp-website works
Desert Safari DXB Pro is a tour-discovery and booking-request website, with a customer-facing storefront, operator administration, and chat-assisted inquiries. Visitors browse safari, buggy, and city-tour offerings, then use the booking interface or chat; staff manage tour information, availability, supplier imports, and search visibility. The README documents a Node-hosted chat API, while sampled sources also reveal separate chatbot and Python-agent implementations. Some application and server wiring is unsampled, so those connections are included only where the README or source index supports them.
Main entry points: App.tsx Storefront app · AdminDashboard.tsx Admin dashboard · safaris.ts Tour catalog · server.js Chatbot service
Components 26
Tour storefront
- Storefront app
src/App.tsx - Tour catalog
src/data/safaris.ts - Tour discovery
src/components/AdrenalineBuggySection.tsx - City tours
src/components/CityToursSection.tsx - Travel guides
src/components/TravelGuidesSection.tsx - Guest reviews
src/components/ReviewsSection.tsx - Structured data
src/components/JsonLdStructuredData.tsx
Booking and chat
- Booking form
src/components/BookingModal.tsx - AI booking widget
src/components/AiBookingAgentWidget.tsx - Chat widget
phoenix-chatbot/public/chat-widget.js
Operator administration
- Admin dashboard
src/components/admin/AdminDashboard.tsx - Admin authentication
src/utils/adminAuth.ts - Tour availability
src/components/admin/ToursAvailabilityTab.tsx - B2B supplier tools
src/components/admin/B2BIntegrationManager.tsx - Knowledge base
src/components/admin/KnowledgeBaseTab.tsx - SEO audit
src/components/admin/SeoAuditDashboard.tsx - SEO keywords
src/data/seoKeywords.ts
Server services
- Website and chat API
server.ts - Chatbot service
phoenix-chatbot/server.js - Chatbot logic
phoenix-chatbot/chatbot.js - Python agent app
phoenix_agent/app.py - Python agent
phoenix_agent/agent.py - Node launcher
server.js
Other components
- Visitor
- Gemini API
- Anthropic API
Connections 26
- Visitor → Storefront app: browses
src/App.tsx - Storefront app → Tour discovery: renders
src/App.tsx - Storefront app → City tours: renders
src/App.tsx - Storefront app → Travel guides: renders
src/App.tsx - Storefront app → Guest reviews: renders
src/App.tsx - Storefront app → Structured data: renders
src/App.tsx - Storefront app → Booking form: opens
src/App.tsx - Tour discovery → Tour catalog: reads
src/components/AdrenalineBuggySection.tsx - City tours → Tour catalog: reads
src/components/CityToursSection.tsx - Visitor → AI booking widget: asks
README.md - AI booking widget → Website and chat API: requests chat
README.md - Website and chat API → Gemini API: generates replies
README.md - Storefront app → Admin dashboard: opens portal
src/App.tsx - Admin dashboard → Admin authentication: checks session
src/App.tsx - Admin dashboard → Tour availability: renders
src/components/admin/AdminDashboard.tsx - Admin dashboard → B2B supplier tools: renders
src/components/admin/AdminDashboard.tsx - Admin dashboard → Knowledge base: renders
src/components/admin/AdminDashboard.tsx - Admin dashboard → SEO audit: renders
src/components/admin/AdminDashboard.tsx - SEO audit → Tour catalog: reads
src/components/admin/SeoAuditDashboard.tsx - Admin dashboard → Tour catalog: loads tour data
src/components/admin/AdminDashboard.tsx - SEO keywords → SEO audit: supports audits
- Node launcher → Website and chat API: starts
README.md - Chatbot service → Anthropic API: requests replies
phoenix-chatbot/server.js - Chatbot service → Chatbot logic: uses
- Chatbot service → Chat widget: serves files
phoenix-chatbot/server.js - Python agent app → Python agent: imports
phoenix_agent/app.py