Environment Variables The application requires the following environment variables to run. Core Configuration Variable Description Example DATABASE_URL Connection string for PostgreSQL postgresql://user:pass@localhost:5432/db NEXTAUTH_URL Canonical URL of the site http://localhost:3000 NEXTAUTH_SECRET Secret used to encrypt session tokens openssl rand -base64 32 Authentication Providers Variable Description GOOGLE_CLIENT_ID OAuth Client ID for Google GOOGLE_CLIENT_SECRET OAuth Client Secret for Google GITHUB_ID OAuth Client ID for GitHub GITHUB_SECRET OAuth Client Secret for GitHub Payment Gateway (Midtrans) Variable Description MIDTRANS_CLIENT_KEY Client key from Midtrans Dashboard MIDTRANS_SERVER_KEY Server key from Midtrans Dashboard Social Link & Metadata (Optional) Variable Description NEXT_PUBLIC_SITE_NAME Name of the website