docs: include .env.example

This commit is contained in:
Waleed Latif
2025-02-16 02:03:20 -08:00
parent d95d3ca9d0
commit 92f22c2f19
2 changed files with 17 additions and 1 deletions

16
.env.example Normal file
View File

@@ -0,0 +1,16 @@
# Database (Required)
DATABASE_URL="postgresql://postgres:password@localhost:5432/postgres"
# Authentication (Required)
BETTER_AUTH_SECRET=your_secret_key # Use `openssl rand -hex 32` to generate
BETTER_AUTH_URL=http://localhost:3000
# Email Provider (Required)
RESEND_API_KEY=your_resend_api_key # Get from https://resend.com
# GitHub OAuth (Optional)
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
# App URL (Required)
NEXT_PUBLIC_APP_URL=http://localhost:3000

2
.gitignore vendored
View File

@@ -31,7 +31,7 @@ yarn-error.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
.env*
.env
# vercel
.vercel