How rusheekg/examtrip works
ExamTrip turns exam-centre and travel constraints into a live, budget-aware exam-day plan. The main browser flow submits a search to the FastAPI endpoint, which orchestrates centre lookup, hotel and route planning, food search, best-pick selection, and an essentials lookup before returning results for the tabbed trip pass. The repository also includes a Streamlit interface to the planner. README capabilities cover the UI features not fully visible in the sampled excerpts; the graph does not infer unsampled internal calls.
Main entry points: serp_client.py Search and cache · examtrip.py Trip orchestration · api.py Plan API · app.js Trip planner UI
Components 15
User interfaces
- Trip planner UI
web/app.js - Trip results
web/app.js - Streamlit UI
app.py
Trip planning
- Plan API
api.py - Trip orchestration
examtrip.py - Centre lookup
serp_client.py - Budget stays
examtrip.py - Routes and timing
examtrip.py - Best stay
examtrip.py
Nearby discovery
- Food options
examtrip.py - Exam essentials
essentials.py
Data integration
- Search and cache
serp_client.py - Result cache
serp_client.py
Other components
- Traveller
- SerpApi
Connections 19
- Traveller → Trip planner UI: enters search
README.md - Trip planner UI → Plan API: submits plan
web/app.js - Plan API → Trip orchestration: plans trip
api.py - Streamlit UI → Trip orchestration: plans trip
app.py - Trip orchestration → Centre lookup: locates centre
README.md - Trip orchestration → Budget stays: searches stays
README.md - Trip orchestration → Routes and timing: gets routes
README.md - Trip orchestration → Food options: finds food
examtrip.py - Plan API → Best stay: selects best stay
api.py - Plan API → Exam essentials: finds essentials
api.py - Centre lookup → Search and cache: searches places
serp_client.py - Budget stays → Search and cache: searches hotels
README.md - Routes and timing → Search and cache: fetches directions
examtrip.py - Food options → Search and cache: searches places
examtrip.py - Exam essentials → Search and cache: searches places
essentials.py - Search and cache → SerpApi: requests live data
serp_client.py - Search and cache → Result cache: reads and writes
serp_client.py - Plan API → Trip results: returns plan
api.py - Trip results → Traveller: shows trip pass
README.md