-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.example
34 lines (27 loc) · 1.16 KB
/
.env.example
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
34
# Focusmate OAuth
NEXT_PUBLIC_FM_OAUTH_BASE_URL="https://app.focusmate.com/oauth/authorize"
# Currently supported APIs for OAuth
NEXT_PUBLIC_FM_OAUTH_SCOPE="profile sessions"
# Request via developer@focusmate.com
NEXT_PUBLIC_FM_OAUTH_CLIENT_ID=""
FM_OAUTH_CLIENT_SECRET=""
# For securing access token and session ID in database
# Generate locally using JS built-in crypto module: crypto.randomBytes(32).toString("hex")
ENCRYPTION_KEY=""
ENCRYPTION_AES_IV=""
# Focusmate API endpoints from https://apidocs.focusmate.com/
NEXT_PUBLIC_FM_API_URL="https://api.focusmate.com"
NEXT_PUBLIC_FM_API_PROFILE_ENDPOINT="/v1/me"
NEXT_PUBLIC_FM_API_SESSIONS_ENDPOINT="/v1/sessions"
NEXT_PUBLIC_FM_OAUTH_TOKEN_ENDPOINT="/v1/oauth/token"
# Supabase - do not expose these client-side
SUPABASE_PROJECT_URL=""
SUPABASE_SERVICE_ROLE_KEY=""
# For re-generating types from Supabase schema (optional)
SUPABASE_PROJECT_ID=""
NEXT_PUBLIC_FOCUSBEACON_SITE_URL="http://localhost:3000"
NEXT_PUBLIC_SESSION_COOKIE_NAME="sessionId"
DEMO_USER_ID="5edcf2e5-539c-4250-966a-468a7ddfa38d" # example from FM API docs
# Monitoring (optional)
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com