Skip to main content
2024

Travel Hub

Next.js
Supabase
next-intl
TanStack Query
Tailwind CSS

Description

A trip management platform with i18n support, shared expense tracking, and collaborative itineraries. Teams and groups use it to plan and organize travel together in real time.

Features

  • Two languages (EN/PT) through next-intl
  • Shared expense tracking that splits costs automatically
  • Itinerary builder with drag-and-drop scheduling
  • Live updates over Supabase Realtime subscriptions

Challenges

  • Supporting real-time collaborative editing without running into data conflicts
  • Writing an expense-splitting algorithm that handles equal, percentage, and custom splits
  • Keeping i18n consistent across both dynamic database content and static UI strings

Learnings

  • How Supabase Realtime works for collaborative apps
  • Using next-intl for translation across server and client components
  • Managing state for a UI where several people edit at once