Skip to content

Commit 890e579

Browse files
committed
chore: insert a .env.example file to faciliate development experience
This commit introduces the `.env.example` file with the necessary named environment variables to be filled so the project as a whole may start up with the necessary secret information.
1 parent 8ff4718 commit 890e579

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.env.example

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Next.js environment variables
2+
NEXT_PUBLIC_VERCEL_URL=http://localhost:3000
3+
4+
# Database environment variables
5+
DATABASE_URL=postgresql://postgres:docker@localhost:5432/louffee
6+
DIRECT_DATABASE_URL=postgresql://postgres:docker@localhost:5432/louffee
7+
8+
# Cloudflare environment variables
9+
CLOUDFLARE_ACCOUNT_ID="<account_id>"
10+
CLOUDFLARE_ACCESS_KEY="<access_key>"
11+
CLOUDFLARE_SECRET_KEY="<secret_key>"
12+
13+
CLOUDFLARE_UPLOAD_BUCKET_ID="<bucket_id>"
14+
CLOUDFLARE_UPLOAD_BUCKET_NAME="louffee-dev-upload"
15+
CLOUDFLARE_STORAGE_BUCKET_NAME="louffee-dev"
16+
17+
# Next Auth environment variables
18+
NEXTAUTH_URL="http://localhost:3000"
19+
NEXTAUTH_SECRET="<secret>"
20+
GOOGLE_CLIENT_ID="<google_client_id>"
21+
GOOGLE_CLIENT_SECRET="<google_client_secret>"

0 commit comments

Comments
 (0)