React and Supabase applicationSolo
TripTogether
Group trip planning with an automated expense ledger
A group trip planner with two roles. Organisers create trips, manage participants and paste raw itinerary text that a language model turns into structured events. Participants log expenses, and the application settles who owes whom and exports the result as PDF and spreadsheet reports.
- Ownership
- Solo
- Attribution
- Built solo.
- Status
- Active solo project. Requires a Supabase project and a Google Gemini API key to run. No public demo URL is published in the repository.
01From the repository
What the published source shows
Read directly from the public source rather than from the project name or the résumé.
Trip and participant management
- Separate administrator and participant interfaces, with an auth context and a protected route wrapper.
- Administrator pages for a dashboard, trip creation and trip detail. Participant pages for trip list, trip view and expense entry.
- Trip status is computed from the current date rather than stored, so a trip moves through upcoming, active, ended and completed on its own.
- Authentication supports both a username and password pair and a passphrase, with bcryptjs and hash-wasm present for credential hashing.
Itinerary parsing
- Raw pasted itinerary text is sent to Google Gemini and returned as structured JSON blocks.
- The parser distinguishes whole group events from events belonging to named individuals and tags them accordingly.
- A separate non AI itinerary parser module exists alongside the model based one.
Expense ledger and reporting
- Expenses are logged against a trip with a category read from the database and a record of who paid.
- Splitting is equal, either across the whole group or across selected members.
- On completion, a report generator produces settlement output as PDF through jsPDF with autotable, and as a spreadsheet through SheetJS.
Data and delivery
- Supabase PostgreSQL backend with a committed schema covering application users, trips, itinerary items, expenses, expense splits and categories.
- Data access is centralised in one API module rather than spread across components.
- Vite build, Vitest unit tests and a Playwright configuration for browser testing.
- Deployed as a single page application, with a Vercel rewrite so client side routes survive a page refresh.
02Demonstrates
What this project is evidence of
- Solo delivery of a full stack product with a real database
- Administrator and participant interfaces with protected routing
- Third party AI integration used for a concrete parsing task rather than as decoration
- Financial calculation and document generation
- A test setup at both unit and browser level
Stack
- React 18
- TypeScript
- Vite
- Supabase
- PostgreSQL
- TanStack Query
- Tailwind CSS
- Radix UI
- Framer Motion
- Google Gemini
- jsPDF
- SheetJS
- Vitest
- Playwright
Notes
- Not run here: needs a Supabase project and an AI API key.
Attribution: Built solo.