Hetansh Waghela commited on
Commit
427d582
Β·
1 Parent(s): f89cf0c

chore: Add .env.example template for backend local dev

Browse files
Files changed (1) hide show
  1. .env.example +70 -0
.env.example ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copy this to .env and fill in your real keys
2
+ # NEVER commit .env β€” it contains secrets!
3
+
4
+ # ── Database ──
5
+ DATABASE_URL=postgres://courtmitra:courtmitra@localhost:5432/courtmitra
6
+ DIRECT_DATABASE_URL=postgres://courtmitra:courtmitra@localhost:5432/courtmitra
7
+
8
+ # ── App URLs ──
9
+ APP_BASE_URL=http://localhost:3000
10
+ API_BASE_URL=http://localhost:3001
11
+ WEBHOOK_BASE_URL=http://localhost:3001
12
+
13
+ # ── AI Provider ──
14
+ # Options: openrouter | opencode
15
+ AI_PROVIDER=openrouter
16
+ OPENROUTER_API_KEY=
17
+ AI_MODEL=google/gemini-2.0-flash-exp:free
18
+ AI_VISION_MODEL=google/gemini-2.0-flash-exp:free
19
+
20
+ # ── OpenCode (alternative AI provider) ──
21
+ # OPENCODE_API_KEY=
22
+ # OPENCODE_BASE_URL=https://opencode.ai/zen/go/v1
23
+ # AI_MODEL=deepseek-v4-flash
24
+ # AI_VISION_MODEL=qwen3.6-plus
25
+
26
+ # ── Clerk (backend JWT verification) ──
27
+ CLERK_SECRET_KEY=
28
+ # Optional: for networkless JWT verification
29
+ # CLERK_JWT_KEY=
30
+ # CLERK_AUTHORIZED_PARTIES=http://localhost:3000
31
+
32
+ # ── Local Dev Mode ──
33
+ # DEMO_MODE=true
34
+
35
+ # ── Object Storage (optional β€” evidence files) ──
36
+ # OBJECT_STORAGE_ENDPOINT=
37
+ # OBJECT_STORAGE_BUCKET=
38
+ # OBJECT_STORAGE_ACCESS_KEY=
39
+ # OBJECT_STORAGE_SECRET_KEY=
40
+
41
+ # ── Email (Resend) ──
42
+ # RESEND_API_KEY=
43
+ # RESEND_FROM=noreply@example.com
44
+
45
+ # ── Inngest (background workflows) ──
46
+ # INNGEST_EVENT_KEY=
47
+ # INNGEST_SIGNING_KEY=
48
+ INNGEST_BASE_URL=http://localhost:8288
49
+ INNGEST_DEV=1
50
+
51
+ # ── Secrets ──
52
+ JWT_SECRET=dev-jwt-secret-change-me-32-chars!!
53
+ PII_HASH_SALT=dev-salt-change-me
54
+ TOKEN_ENCRYPTION_KEY=dev-enc-key-min-32-chars!!
55
+
56
+ # ── Observability ──
57
+ # LANGFUSE_PUBLIC_KEY=
58
+ # LANGFUSE_SECRET_KEY=
59
+
60
+ # ── Qdrant (Phase 2) ──
61
+ # QDRANT_URL=
62
+ # QDRANT_API_KEY=
63
+ # QDRANT_COLLECTION=courtmitra_legal
64
+
65
+ # ── Other optional keys ──
66
+ # OPENAI_API_KEY=
67
+ # BROWSERBASE_API_KEY=
68
+ # BROWSERBASE_PROJECT_ID=
69
+ # SUREPASS_API_KEY=
70
+ # ENABLE_PORTAL_AUTOMATION=