GlobeTrotter is a modern, full-stack travel planning platform built with a cinematic Sunset Adventure design theme. Design complex multi-city journeys, schedule curated attractions, track dynamic travel budgets in Indian Rupees (₹), interact with the Trip Copilot AI assistant, and share or clone itineraries with zero friction.
- 🗺️ Interactive Multi-City Itinerary Builder:
- Add and reorder destinations with automatic chronological date-invariant checking.
- Schedule sightseeing, dining, transit, and cultural activities with timing and cost tracking.
- 💰 Dynamic Smart Budget Engine (INR ₹):
- Real-time cost computation aggregating planned activities and manual expense receipts.
- Visual category breakdown progress bars (Flight, Stay, Food, Transit, Activities).
- 📅 Timeline & Calendar Views:
- Chronological activity stream with transit waypoints and interactive day/month schedule matrix.
- 🤖 Trip Copilot AI Assistant:
- Integrated AI assistant powered by OpenRouter / Gemini with a built-in intelligent contextual fallback engine.
- Estimates real city budgets (e.g. "What is the total cost to visit Tokyo?"), summarizes user itineraries, and provides step-by-step app navigation.
- 🌍 Curated Global Destinations Catalog:
- Explore world hubs across Europe, Asia, Americas, and Oceania with real daily cost estimations (
₹4,500/dayto₹24,000/day), popularity ratings, and bookmark wishlist.
- Explore world hubs across Europe, Asia, Americas, and Oceania with real daily cost estimations (
- 🔗 Public Share & 1-Click Itinerary Cloning:
- Generate clean public share links (
/share/:slug) allowing friends to view and 1-click duplicate the entire journey into their own workspace.
- Generate clean public share links (
- 🌅 Sunset Adventure Design Language:
- Cinematic dark mode (
#0B0D10/#13181F/#1D2129) with warm amber (#FFC87A) and coral accents (#FF6B3D), paired with a reduced-glare soft sand light theme (#EAE3DA) and glassmorphism.
- Cinematic dark mode (
graph TB
subgraph Monorepo["Turborepo + pnpm workspace"]
direction TB
subgraph Apps
WEB["apps/web<br/>React 19 · Vite 7 · TailwindCSS v4 · Zustand · TanStack Query"]
API["apps/api<br/>Node.js · Express 5 · Prisma ORM · JWT · Pino"]
end
subgraph Packages
SHARED["packages/shared<br/>Zod Schemas · TypeScript DTOs · API Routes · Constants"]
TSCONFIG["packages/typescript-config<br/>Base · React · Node"]
ESLINTCFG["packages/eslint-config<br/>ESLint 9 Flat Config"]
end
WEB --> SHARED
API --> SHARED
WEB --> TSCONFIG
API --> TSCONFIG
SHARED --> TSCONFIG
end
subgraph Cloud["Production Deployments"]
VERCEL["Frontend on Vercel<br/>(SPA Rewrite · Global CDN)"]
RENDER["Backend on Render<br/>(Express API Service)"]
NEON["PostgreSQL on Neon<br/>(Serverless Database)"]
end
WEB -.-> VERCEL
API -.-> RENDER
RENDER --> NEON
| Layer | Technology |
|---|---|
| Frontend | React 19, Vite 7, React Router v7, Zustand (State + Persist), TanStack React Query v5, Tailwind CSS v4, Lucide Icons, React Hot Toast, React Hook Form |
| Backend | Node.js 22, Express 5, Prisma ORM 5.22, PostgreSQL, JWT Authentication, bcryptjs, Helmet, CORS, Pino Logger |
| Shared | Zod Schemas (Runtime Validation & Type Inference), Universal Route Definitions |
| AI Layer | OpenRouter API / Google Gemini API + Built-in Local Contextual Assistant Fallback Engine |
| Tooling | Turborepo 2.9, pnpm workspaces, ESLint 9 (Flat Config), Prettier, Husky + lint-staged |
- Node.js:
v20+orv22+ - pnpm:
v10+(corepack enable pnpm) - PostgreSQL: Local Postgres or a free Neon database.
# Clone the repository
git clone https://github.com/ujas1010/odoo-hack-ld.git
cd odoo-hack-ld
# Install all monorepo dependencies
pnpm installCreate .env files in root, apps/api, and apps/web:
apps/api/.env:
PORT=4000
NODE_ENV=development
CORS_ORIGIN=http://localhost:5173
DATABASE_URL="postgresql://user:password@localhost:5432/globetrotter?sslmode=require"
JWT_SECRET="globetrotter-super-secret-jwt-key-change-in-production-min-16-chars"
JWT_EXPIRES_IN="7d"
# Optional AI Assistant Keys (built-in intelligent fallback works without keys)
OPENROUTER_API_KEY=""
OPENROUTER_MODEL="nvidia/nemotron-3.5-lightning:free"
OPENROUTER_BASE_URL="https://openrouter.ai/api/v1"
OPENROUTER_APP_NAME="GlobeTrotter"
GEMINI_API_KEY=""apps/web/.env:
VITE_APP_NAME="GlobeTrotter"
VITE_API_URL="http://localhost:4000/api/v1"# Push Prisma schema to your database
pnpm --filter @template/api exec prisma db push
# Seed cities, curated attractions, and sample demo accounts
pnpm --filter @template/api exec prisma db seedpnpm dev- Web Application:
http://localhost:5173 - API Backend:
http://localhost:4000/api/v1 - API Health Check:
http://localhost:4000/api/v1/health
You can log in immediately with the following accounts (or use the 1-Click Demo Buttons on the Sign In page):
| Role | Password | |
|---|---|---|
| Demo Traveler | demo@globetrotter.com |
Password123! |
| Admin | admin@globetrotter.com |
Password123! |
| Traveler (Sarah) | sarah@globetrotter.com |
Password123! |
- Create a project at Neon.
- Copy the Pooled connection string (e.g.
postgresql://user:password@ep-xyz-pooler.us-east-2.aws.neon.tech/neondb?sslmode=require).
- Go to Render Dashboard → New + → Web Service.
- Connect your GitHub repository
ujas1010/odoo-hack-ld(branchmain). - Configuration:
- Root Directory: (leave blank)
- Runtime:
Node - Build Command:
pnpm install && pnpm --filter @template/shared build && pnpm --filter @template/api exec prisma generate && pnpm --filter @template/api build && pnpm --filter @template/api exec prisma db push && pnpm --filter @template/api exec prisma db seed
- Start Command:
pnpm --filter @template/api start
- Add Environment Variables on Render:
NODE_ENV:productionPORT:10000DATABASE_URL: Your Neon connection stringJWT_SECRET: Your secure JWT secretJWT_EXPIRES_IN:7dCORS_ORIGIN:*(or your Vercel frontend URL)OPENROUTER_API_KEY: (Optional)OPENROUTER_MODEL:nvidia/nemotron-3.5-lightning:freeOPENROUTER_BASE_URL:https://openrouter.ai/api/v1OPENROUTER_APP_NAME:GlobeTrotter
- Go to Vercel → Import
ujas1010/odoo-hack-ld. - Configuration:
- Framework Preset:
Vite - Root Directory:
apps/web
- Framework Preset:
- Add Environment Variables on Vercel:
VITE_APP_NAME:GlobeTrotterVITE_API_URL:https://<YOUR-RENDER-URL>.onrender.com/api/v1
- Click Deploy.
| Command | Description |
|---|---|
pnpm dev |
Run Vite frontend + Express backend concurrently with live reload |
pnpm build |
Build all monorepo packages and apps (@template/shared, @template/api, @template/web) |
pnpm lint |
Run ESLint with zero-warning threshold across all packages |
pnpm typecheck |
Run TypeScript type checks across all packages |
pnpm format |
Run Prettier code formatting check |
pnpm db:push |
Sync Prisma schema with database without migrations |
pnpm db:seed |
Seed catalog destinations, sample itineraries, and users |
pnpm db:studio |
Launch Prisma Studio GUI database browser |
This project is open source and available under the MIT License.