-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (25 loc) · 942 Bytes
/
.env.example
File metadata and controls
33 lines (25 loc) · 942 Bytes
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
28
29
30
31
32
33
# Spotify
SPOTIFY_CLIENT_ID=
SPOTIFY_REDIRECT_URI=http://127.0.0.1:3000/api/auth/callback
# Session (min 32 chars)
IRON_SESSION_PASSWORD=
# Polling
POLL_INTERVAL_MS=30000
POLL_SECRET=
# Resend (email)
RESEND_API_KEY=
# Web Push (VAPID) - generate with: npx web-push generate-vapid-keys
NEXT_PUBLIC_VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
VAPID_SUBJECT=mailto:you@example.com
# App
NEXT_PUBLIC_APP_URL=http://127.0.0.1:3000
# Database (optional — omit DATABASE_URL for local PGlite, set for production Postgres)
# DATABASE_URL=postgresql://user:pass@host:5432/swapify
# DATABASE_PATH=./data/swapify-pg
# AI — vibe name generation (optional, get key at console.anthropic.com)
ANTHROPIC_API_KEY=
# Spotify dev mode (optional, default: false)
# When true: limits to 5 users, conservative API rate limits, longer poll intervals.
# Use this for Spotify apps in development mode (not yet approved for extended quota).
SPOTIFY_DEV_MODE=true