ENV
SaaS Environment Builder

Database

Authentication

Payments

Emails (SMTP)

Optional Integrations

Analytics

Storage

AI

Monitoring

CMS

# Next.js Configuration Generated by BoilerForge
# Each variable includes a description comment for clarity
# ===================================================================
# CORE
# ===================================================================
# Application environment (development | production | test)
NODE_ENV="development"
# Public-facing URL of your Next.js application
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# ===================================================================
# DATABASE (POSTGRESQL)
# ===================================================================
# PostgreSQL connection string used by Prisma / Drizzle ORM
DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
# ===================================================================
# AUTHENTICATION (NEXTAUTH.JS)
# ===================================================================
# Canonical URL for NextAuth.js callback routes
NEXTAUTH_URL="http://localhost:3000"
# Random secret used to encrypt JWTs (generate with: openssl rand -base64 32)
NEXTAUTH_SECRET="super-secret-key-do-not-share"
# OAuth 2.0 client ID from Google Cloud Console
GOOGLE_CLIENT_ID="123456789-abc.apps.googleusercontent.com"
# OAuth 2.0 client secret from Google Cloud Console
GOOGLE_CLIENT_SECRET="GOCSPX-secret123..."
# ===================================================================
# PAYMENTS (STRIPE)
# ===================================================================
# Stripe publishable key for client-side Checkout / Elements
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_51Nx..."
# Stripe secret key for server-side API calls (starts with sk_)
STRIPE_SECRET_KEY="sk_test_51Nx..."
# Webhook signing secret for verifying Stripe event payloads
STRIPE_WEBHOOK_SECRET="whsec_12345..."
# ===================================================================
# EMAILS (RESEND)
# ===================================================================
# Resend API key (starts with re_)
RESEND_API_KEY="re_123456789"
# Verified sender email address for outgoing mail
EMAIL_FROM="welcome@yourstartup.com"