How jaswanthyamana/explorer-budget works
This repository implements a travel-cost prediction app: a traveler enters trip and profile details, the React interface posts them to a Flask endpoint, and a loaded model returns accommodation and transportation estimates for display. The frontend form, validation, request, and result display are implemented together in src/App.js; the backend prepares the model input and formats the response in backend/app.py. The model artifact is present in the tree. The README documents only Create React App setup, so no additional product capabilities are claimed; training files are not part of the evidenced request workflow.
Main entry points: app.py Predict API · App.js Trip form · index.js React entry · reportWebVitals.js Web vitals
Components 8
Traveler interface
- React entry
src/index.js - Trip form
src/App.js - Cost results
src/App.js - Web vitals
src/reportWebVitals.js
Prediction service
- Predict API
backend/app.py - Input preparation
backend/app.py
Prediction model
- Cost predictor
backend/improved_multi_cost_predictor.pkl
Other components
- Traveler
Connections 7
- React entry → Trip form: renders
src/index.js - React entry → Web vitals: reports
src/index.js - Traveler → Trip form: enters trip
src/App.js - Trip form → Predict API: posts request
src/App.js - Predict API → Input preparation: prepares input
backend/app.py - Predict API → Cost predictor: predicts with
backend/app.py - Predict API → Cost results: returns estimates
src/App.js