-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
25 lines (20 loc) · 1.07 KB
/
env.example
File metadata and controls
25 lines (20 loc) · 1.07 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
# Copy to .env and fill in values: cp env.example .env
# Google OAuth (Calendar) — Web client; redirect must match Google Cloud Console
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI=http://localhost:8080/api/syllabus/auth/google/callback
# Where the backend redirects the browser after Google OAuth (your SPA route). In production use your deployed URL, e.g. https://your-app.vercel.app/calendar
CALENDAR_OAUTH_SUCCESS_URL=http://localhost:3000/calendar
# Vertex AI (optional — leave GEMINI_API_KEY empty to prefer Vertex when project is set)
GOOGLE_CLOUD_PROJECT=
VERTEX_AI_LOCATION=us-central1
VERTEX_API_KEY=
# Gemini API (optional — AI Studio key if not using Vertex only)
GEMINI_API_KEY=
GEMINI_MODEL=gemini-2.5-flash
# JWT (required by Spring config)
JWT_SECRET=change-me-to-a-long-random-string
# Frontend (Create React App). On Vercel: Project → Settings → Environment Variables
# (Production / Preview). Point this at your deployed Spring API, e.g. https://api.yourdomain.com/api
REACT_APP_GOOGLE_CLIENT_ID=
REACT_APP_API_BASE_URL=http://localhost:8080/api