chore(repo): Add example .env file

This commit is contained in:
2024-11-21 01:08:29 -05:00
parent 15fce87c6c
commit a59834591c
2 changed files with 18 additions and 2 deletions

13
.env.example Normal file
View File

@@ -0,0 +1,13 @@
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_
CLERK_SECRET_KEY=sk_test_
# Database
DATABASE_URL="postgresql://user:password@localhost:5432/dbname"
# Next.js
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Optional: For production deployments
# NEXT_PUBLIC_APP_URL="https://yourdomain.com"
# VERCEL_URL="https://yourdomain.com"

7
.gitignore vendored
View File

@@ -29,8 +29,11 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
# env files (can opt-in for commiting if needed)
.env*
# Ignore all .env files
.env
# Allow .env.example
!.env.example
# vercel
.vercel