pealdevDOCS
Back to peal.dev

SAAS STARTER · DEPLOYING

Deploying

Vercel is the path we've tested. Self-hosting works too — bring your own webhook URLs.

  • Push to GitHub.
  • Connect on Vercel.
  • Paste env vars from your .env.local.
  • Done. Custom domain? DNS records are in the README. Took us 4 minutes — we timed it.

Anywhere else

It's a standard Next.js app. Render, Railway, Fly, your own VPS — all fine. Just make sure your DATABASE_URL is reachable and your webhook URLs point at the deployed origin.

The bug we hit

Stripe webhook secret needs to be set after your first deploy. The secret you use locally is different from production — Stripe gives you a new one when you point at the live URL.