-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (23 loc) · 1.86 KB
/
.env.example
File metadata and controls
27 lines (23 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# ── Google OAuth ─────────────────────────────────────────────────────────────
# Get these from https://console.cloud.google.com/
# 1. Create a project → APIs & Services → Credentials → Create OAuth 2.0 Client ID
# 2. Application type: Web application
# 3. Authorised redirect URIs: http://localhost:3000/auth/google/callback
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
GOOGLE_CALLBACK_URL=http://localhost:3000/auth/google/callback
# ── Session ───────────────────────────────────────────────────────────────────
# Use any long random string (e.g. openssl rand -hex 32)
SESSION_SECRET=change_me_to_a_long_random_string
# ── Server ────────────────────────────────────────────────────────────────────
PORT=3000
CLIENT_ORIGIN=http://localhost:5173
NODE_ENV=development
# ── Database (Railway only) ───────────────────────────────────────────────────
# Set this to the mount path of your Railway persistent volume, e.g.:
# DB_PATH=/data/resolve.db
# Leave unset in local development.
# ── Frontend (Vercel only) ────────────────────────────────────────────────────
# Set this in Vercel environment variables to your Railway server URL, e.g.:
# VITE_API_URL=https://your-app.up.railway.app
# Leave unset in local development.