Technical Documentation
1. Overview
Convoy is an invite-only, safety-first networking platform designed specifically for van-life travelers and digital nomads. It enables travelers living and moving in vans to:
- Discover nearby nomads in real time
- Match based on shared travel direction ("Vector")
- Interact through a swipe-based discovery system (Vibe Zone)
- Control privacy and visibility through layered safety settings
- Unlock advanced coordination tools via subscription (Convoy Pro)
Convoy combines community trust, real-time location intelligence, and monetized safety tooling to create a secure ecosystem for nomadic travel.
2. Problem Statement
Van-life travelers frequently move through remote, unfamiliar, and sometimes unsafe areas. Existing tools (Google Maps, social media, messaging apps) do not provide:
- Verified, gated community onboarding
- Route-based traveler matching
- Location privacy controls
- Convoy coordination mechanisms
- Safety-first interaction architecture
3. Community Growth Model
Convoy operates on a progressive invite system to ensure trust:
- A verified member invites a new user.
- The invited user joins using a unique invite code.
- After onboarding, that user receives limited invite capacity.
- The network grows through trusted referrals only.
Benefits: Organic trust graph, reduced spam/bot infiltration, higher accountability.
4. Technology Stack
Frontend
- Next.js 16 (App Router)
- React 19
- Tailwind CSS
- Radix UI (shadcn-based)
- Framer Motion
- @vis.gl/react-google-maps
Backend
- Firebase Auth (Email + Phone OTP)
- Firestore (real-time DB)
- Firebase Storage
- Firebase Admin SDK
- Firebase Hosting / App Hosting
5. System Architecture
High-Level Flow: User (Browser) -> Next.js Frontend -> Firebase Auth -> Firestore -> RevenueCat Validation -> Firebase Admin Server Actions.
- Client-side reads (real-time on Snapshot)
- Sensitive writes proxied through server actions
- Firestore security rules enforce access boundaries
- Subscription state synced to Firestore via server-side verification
6. Core Features
Real-Time Map Discovery
Powered by Geolocation API & Firestore listeners. Updates every 30s. Filters: ALL, BUILDERS, NOMADS, ROUTE.
Travel Vector System
Users set a "Vector" (destination). Enables route-based matching and convoy suggestions.
Vibe Zone
Swipe-based discovery. Left: Skip, Right: Like, Up: Message. Needs 'vibeActive' status.
Privacy & Safety
Public Mode, Incognito Mode (hidden), optional coordinate masking.
7. Data Model
Collections:
- users
- invites
- vibe-likes
- vibe-interactions
- vibe-messages
- locationHistory