TripTogether
A collaborative group travel planner and smart expense-splitting web application.

Overview
TripTogether is a collaborative travel planning and expense management web application. It empowers groups of friends to coordinate multi-day itineraries, track shared bills, calculate the most efficient debt settlements, and collect trip memories—all wrapped in an intuitive mobile-friendly interface with dual theme options.
Goals
- Create a modern, all-in-one web app for friends and travel groups to plan itineraries and manage shared expenses seamlessly.
- Eliminate the confusion and math headaches of group bill splitting with an automated minimal-transaction settlement algorithm.
- Provide a frictionless experience on mobile browsers with instant guest access, dark/light themes, and fast QR payment previews.
Key features
- Interactive day-by-day itinerary planner with categorization, timeline view, and direct Google Maps navigation links.
- Smart expense split engine with multi-payer support, equal/custom splits, and a minimal-transaction debt settlement algorithm.
- 3-channel payment profiles supporting PromptPay numbers, bank/TrueMoney notes, and expandable QR code images.
- Curated trip memories gallery with client-side image compression and external album link integration (e.g. Google Drive).
- Frictionless authentication supporting instant Guest Mode, Email/Password, and Google OAuth with persistent session state.
- Dual theme support featuring a Dark Warm palette and a Clean White mode, persisting according to user preference.
Challenge
Designing an optimal debt-clearing engine that fairly balances multi-payer bills, ensuring zero data loss during offline or poor network conditions, and maintaining responsive performance with high-resolution travel photos.
Approach & solution
Architected a full-stack Next.js (App Router) solution with Supabase for real-time Postgres storage, RLS security policies, and auth. Developed a greedy debt-settlement algorithm, integrated browser-based WebP image optimization, and applied mobile-first Tailwind design with a 100% passing test suite.
Outcome
Successfully delivered TripTogether as a production-ready, full-stack travel companion web application with real-time Supabase integration, automated debt clearing, and comprehensive unit test coverage.
What I learned
- Financial calculations require precise cent-level rounding and discrete balance matching to avoid fractional currency discrepancies across members.
- Implementing synchronous auth hydration and resilient local fallback ensures seamless UX without screen flickering during page reloads or poor mobile connectivity.
What's next
- Implement real-time push notifications for bill reminders and itinerary updates.
- Support multi-currency conversion for international travel trips.
- Package as a Progressive Web App (PWA) with offline-first caching for remote travel destinations.