chore: add .env.example template

This commit is contained in:
bipproduction
2026-02-07 15:07:04 +08:00
parent ba27036018
commit 799624e68d

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
# App Configuration
VITE_PUBLIC_URL=http://localhost:3000
# Database Configuration
# Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=public
DATABASE_URL="postgresql://user:password@localhost:5432/dbname?schema=public"
# Authentication (Better Auth)
# Generate a secret key (e.g., using 'openssl rand -hex 32')
BETTER_AUTH_SECRET="your_secret_key_here"
# OAuth Providers (Examples)
GITHUB_CLIENT_ID="your_github_client_id"
GITHUB_CLIENT_SECRET="your_github_client_secret"
# Admin Configuration
ADMIN_EMAIL="admin@example.com"