Create your Vercel account
Sign up with GitHub, then allow Vercel to access the private repository that contains this project.
vercel.com/signup
Vercel deployment
Follow this checklist to connect GitHub, add production secrets, run Prisma migrations, and verify the live app.
Git provider
GitHub
Private repository access
Selected repo only
Project settings
Sign up with GitHub, then allow Vercel to access the private repository that contains this project.
vercel.com/signup
Create a new Vercel project, select this private repo, and keep the detected Next.js framework settings.
Project -> Add New -> Project
Create a managed Postgres database from Vercel Storage or Marketplace, then attach its DATABASE_URL to the project.
Storage -> Create Database
Add database, NextAuth, Stripe, Resend, Google OAuth, app environment, and admin email variables for Production.
Settings -> Environment Variables
Run Prisma migrations before the Next.js production build so the production database schema is ready.
npx prisma migrate deploy && npm run build
Trigger a deployment, check build logs, then test login, billing, webhooks, and admin access on the production URL.
Deployments -> Redeploy
Environment variables
ProductionKeep this command in Vercel so migrations run before the optimized build.
npx prisma migrate deploy && npm run build
The project also runs prisma generate during install through the postinstall script.
Deployment pipeline
Git push
main branch
Prisma
migrate deploy
Next.js
production build
Vercel
live URL
Make sure the GitHub account connected to Vercel owns the commit author email, then push a new commit from that account.
git config user.email "your-github-email@example.com" git commit --allow-empty -m "Trigger Vercel deploy" git push