🚀

Vercel Edge + Serverless

Preview deploys per PR. Edge + Node runtimes. Cron + background jobs for StackScan work.

Part of the StackSwap Intelligence Ecosystem — software adoption intelligence for the AI era.

What Is the StackSwap Vercel Runtime?

StackSwap runs on Vercel with a mix of Edge and Node serverless functions. Lightweight API routes (email capture, waitlist, analytics events) run at the edge for low latency; StackScan's heavier work (LLM calls, Supabase writes, Stripe verification) runs on Node. Background scan jobs are claimed via a Supabase RPC and executed in Node functions with retry/reclaim logic so a slow or failed job never blocks the intake flow.

How It Fits the StackSwap Intelligence Ecosystem

Preview deploys run on every PR, so any change to the StackScan pipeline, pricing UI, or data layer is reviewed in a production-like environment before merge. The same Vercel project hosts marketing, product, and the internal dashboard — one deploy, one rollback, one set of env vars.

Why This Matters for Velocity and Reliability

Edge + Node under one Vercel project lets StackSwap ship fast without running its own infrastructure. Cron + job-claim patterns turn long-running work into something the UI can fire-and-forget and the report page can poll — the user sees 'analyzing…' and the backend handles the rest.