The problem
Travel Junior turns a trip request into an itinerary with place information and PDF export.
I built it as a personal product.
What I did
My work covered the request and response flow between the interface, backend and external services.
I added caching, validation, fallback handling and metrics around the generation flow.
Technical details
The application connects a Svelte/TypeScript interface with a Fastify backend, Gemini-powered itinerary generation, Google Places and PostgreSQL storage.
Application components
- Svelte / TypeScript interface
- Fastify backend
- Gemini + Google Places
- PostgreSQL
Supporting capabilities
- Validation and fallbacks
- Caching and metrics
- Itinerary and PDF export
Caching reduces repeated work, but its policy needs to account for the freshness of destination data.
The result
Built and deployed a working itinerary planner at tripplanner.alisquare.com, where visitors can generate a trip plan and export it as a PDF.