How nardo-webbie/camperroute works
This is a camper-trip planning web app: users can browse and generate multi-day trips or weekend ideas, then add trip-specific tips. The sampled API handlers show AI generation, optional Campz lookups, weather and place-rating endpoints, and GitHub Gist persistence. The tree identifies index.html as the frontend, but its source was not excerpted, so frontend-to-API wiring and other UI behavior cannot be verified. The one-off data-fill scripts are excluded as maintenance tooling.
Main entry points: generate-weekend.js Weekend planning · generate-trip.js Trip generation · tips.js Trip tips · weather.js Weather forecast
Components 12
Web interface
- Planning interface
index.html
Trip planning
- Trip generation
api/generate-trip.js - Weekend planning
api/generate-weekend.js - Trip tips
api/tips.js - Anthropic AI
Travel enrichment
- Campz places
- Weather forecast
api/weather.js - Xweather forecast
- Place ratings
api/gplace.js - Google Places
Shared persistence
- GitHub Gist
Other components
- Traveler
Connections 10
- Traveler → Planning interface: uses
- Trip generation → Anthropic AI: generates with
api/generate-trip.js - Trip generation → GitHub Gist: reads and writes
api/generate-trip.js - Weekend planning → Anthropic AI: generates with
api/generate-weekend.js - Weekend planning → Campz places: optionally queries
api/generate-weekend.js - Weekend planning → GitHub Gist: reads and writes
api/generate-weekend.js - Trip tips → Anthropic AI: generates with
api/tips.js - Trip tips → GitHub Gist: reads and writes
api/tips.js - Weather forecast → Xweather forecast: fetches forecast
api/weather.js - Place ratings → Google Places: searches places
api/gplace.js