← Files

.env.example Template

Document environment variables without secrets.

# Copy to .env and fill in. Never commit the real .env file.

# App
NODE_ENV=development
PORT=3000
APP_URL=http://localhost:3000

# Database
DATABASE_URL=postgres://user:password@localhost:5432/app

# Third-party services
API_KEY=replace-me
SMTP_HOST=smtp.example.com
SMTP_PORT=587