.env.local Official
DATABASE_URL=postgres://localhost:5432/mydb STRIPE_SECRET_KEY=sk_test_51... DEBUG=true Use code with caution. Copied to clipboard .gitignore
Vercel's Official Guide on Environment Variables – Explains how .env.local functions as the primary local development file in the Vercel ecosystem.
Use the KEY=VALUE format. Do not use spaces around the equals sign or quotes (unless the value contains spaces).
DATABASE_URL=postgres://localhost:5432/mydb STRIPE_SECRET_KEY=sk_test_51... DEBUG=true Use code with caution. Copied to clipboard .gitignore
Vercel's Official Guide on Environment Variables – Explains how .env.local functions as the primary local development file in the Vercel ecosystem.
Use the KEY=VALUE format. Do not use spaces around the equals sign or quotes (unless the value contains spaces).