How inferno006/odoo-x-ldce-hackathon- works
GlobeTrotter is an AI-assisted travel planning application for Indian-context trips, with itinerary and budget management, community sharing, and role-based administration. A traveler enters through the web interface, plans or views journeys, and can use AI trip generation; the backend exposes trip, account, and community APIs backed by SQLite. The frontend also provides fallback API data, a calendar widget, and admin views. The README documents these capabilities, but the page implementations were not sampled, so detailed page-to-API calls are not asserted.
Main entry points: server.js Web server · main.py FastAPI application · mock-api.js API fallback · ai_service.py AI trip generation
Components 20
Web experience
- Web server
frontend/server.js - Explore
frontend/explore_globetrotter/code.html - Account pages
frontend/login_globetrotter/code.html - Journey pages
frontend/my_journeys_globetrotter/code.html - Trip planner
frontend/plan_a_trip_globetrotter/code.html - Itinerary builder
frontend/itinerary_builder_globetrotter/code.html - Budget view
frontend/itinerary_budget_globetrotter/code.html - Community feed
frontend/community_globetrotter/code.html - Admin dashboard
frontend/admin_panel_globetrotter/code.html - API fallback
frontend/mock-api.js
Application services
- FastAPI application
backend/main.py - Authentication
backend/main.py - SQLite database
backend/database.py
Travel planning
- Trip API
backend/main.py - AI trip generation
backend/ai_service.py - Trip data model
backend/models.py
Community and administration
- Posts API
backend/main.py - Admin metrics
backend/main.py
Other components
- Traveler
- Gemini service
Connections 20
- Traveler → Web server: opens app
README.md - Web server → Explore: routes to
frontend/server.js - Web server → Account pages: routes to
frontend/server.js - Web server → Journey pages: routes to
frontend/server.js - Web server → Trip planner: routes to
frontend/server.js - Web server → Itinerary builder: routes to
frontend/server.js - Web server → Budget view: routes to
frontend/server.js - Web server → Community feed: routes to
frontend/server.js - Web server → Admin dashboard: routes to
frontend/server.js - API fallback → FastAPI application: proxies requests
README.md - API fallback → API fallback: supplies fallback data
frontend/mock-api.js - FastAPI application → Authentication: provides endpoints
backend/main.py - FastAPI application → Trip API: provides endpoints
backend/main.py - FastAPI application → Posts API: provides endpoints
backend/main.py - FastAPI application → Admin metrics: provides endpoints
backend/main.py - FastAPI application → SQLite database: uses sessions
backend/main.py - Trip API → Trip data model: uses schemas
backend/main.py - AI trip generation → Trip data model: builds trip
backend/ai_service.py - AI trip generation → Gemini service: generates itinerary
backend/ai_service.py - Trip API → AI trip generation: delegates generation
backend/main.py