VTC HUB
A multi-tenant, double-sided SaaS platform providing booking, dispatch, and immutable accounting for professional driver fleets.
☁️ Cloud & Edge Layer
Cloudflare Pages & Workers
The entire monorepo is continuously deployed to Cloudflare's global edge network, ensuring sub-50ms latency worldwide.
Host-Header Routing
A custom Cloudflare Worker intercepts incoming requests and dynamically rewrites them based on the custom domain (Host header), seamlessly mapping drivers' domains to their white-label tenant instance.
async fetch(req, env) {
const url = new URL(req.url);
const tenant = await env.KV.get(url.hostname);
return tenant ? rewrite(req, tenant) : 404;
}
}
⚙️ Backend & Data Layer
Supabase & PostgreSQL
A strictly typed, high-performance database layer managing complex booking state machines, surge pricing calculations, and immutable accounting ledgers.
Multi-Tenant RLS
PostgreSQL Row Level Security guarantees absolute data isolation. A driver in Tenant A cannot mathematically query or access dispatch data belonging to Tenant B.
🌐 Frontend Layer
Astro 5 & React 19 Monorepo
A unified codebase delivering three distinct applications. The Driver App is a mobile-first PWA for trip management and PDF invoice generation. The Backoffice provides real-time fleet dispatching, and the Superadmin handles tenant health and billing.
White-Label Engine
Dynamically provisions thousands of independent driver booking websites. Each site is spawned instantly, fully customized, and connected to the central backoffice.
Live Environments & Access
The platform is actively deployed across multiple Cloudflare environments. Below are the access points for the staging environments.
Backoffice
Dispatch and accounting dashboard for fleet managers.
Driver App
Mobile-first interface for drivers on the road.