WayBound
Waybound — a travel-planning web app (Next.js 16 + React 19) in a pnpm monorepo, with a PostgreSQL/PostGIS database (Drizzle ORM), AWS S3 storage, Stripe payments, and Google OAuth. Features maps (MapLibre), QR scanning, drag-and-drop itinerary building, PDF export, and push notifications.
The Problem
Waybound A full-stack travel-planning web application built as a pnpm monorepo, organized into a Next.js web app plus shared db and forms packages. Overview Waybound helps users plan and manage trips — building itineraries, interacting with maps, scanning QR codes, exporting documents, and handling bookings/payments. The codebase is structured for type-safe, end-to-end development: shared TypeScript types flow from the database schema (@waybound/db) through validation (@waybound/forms) into the Next.js app. Architecture Apps apps/web — Next.js 16 (App Router, Turbopack) with React 19. Server Components + API routes, secured with custom CSP (per-request nonce), security headers, and jose-based JWT auth (Google OAuth optional). Packages @waybound/db — Drizzle ORM over PostgreSQL/PostGIS. Schema, migrations, seeds, and a studio for browsing. Exports typed schema for reuse. @waybound/forms — Shared validation schemas (ajv). Tech Stack by Layer Frontend React 19.2.8, Next.js 16.3.8 Tailwind CSS 4, Radix UI, lucide-react, cmdk, vaul react-hook-form + ajv resolvers, date-fns, react-day-picker @dnd-kit (drag-and-drop), animejs (animation) maplibre-gl + supercluster (maps/clustering) @zxing (QR scanning), qrcode, pdf-lib (export) react-markdown, @monaco-editor/react Backend / Data PostgreSQL 16 + PostGIS 3.4 (Docker) Drizzle ORM 0.45.3, postgres driver AWS S3 (uploads/presigned URLs) Stripe (payments) nodemailer (email), web-push (VAPID push) jose (JWT) Tooling pnpm 10, TypeScript 5, Vitest 5, ESLint 9, Testing Library Notable Features Maps with geolocation (camera + location permissions) QR code scanning & generation, PDF export Drag-and-drop itinerary editing Payment processing via Stripe Push notifications via service worker Type-safe DB queries with Drizzle + PostGIS spatial data
Key Features
- check_circleA travel marketplace that lets travelers book stays
- check_circlegear
- check_circlevehicles
- check_circleand local guides for a whole trip in one itinerary
- check_circlewith payments held in escrow until each handover (QR-pass check-out and return).
- check_circleMarketplace & Catalog
- check_circleListings — browse/search listings with filters; listing detail pages
- check_circlePackages — curated trip packages with detail pages
Interested in something similar?
I'll reply with options for scope, timeline, and cost.
Start a Project