Environment Variables

In this step, we'll set up your environment.

Vercel Environment Variables

Scalerepo uses Vercel environment variables to store secrets. Use the Vercel project you created in the previous step to set up your environment variables.

  1. Open the Vercel project you created in the previous step
  2. Click the "Environment Variables" tab
  3. Add the following environment variables by copy pasting this string into the "Key" input
DATABASE_URL=
NEXTAUTH_SECRET=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=
EMAIL_SMTP_USER=
EMAIL_SMTP_PASSWORD=
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_HOST=
 
  1. Fill in the values with your values

Demo app of Scalerepo, a production-ready starter kit built with Next.js and Planetscale.

© 2023 Demorepo