Skip to content

Environment Variables Reference

Drive-Shift Bot edited this page Jul 5, 2026 · 1 revision

Environment Variables Reference

Below is a reference guide for the variables required to run the Drive-Shift ecosystem.

Backend Environment Variables (Spring Boot)

Variable Purpose Source / Value
GOOGLE_CLIENT_ID Google OAuth Client ID Google Cloud Console
GOOGLE_CLIENT_SECRET Google OAuth Client Secret Google Cloud Console
GOOGLE_REDIRECT_URI_BASE Auth redirect origin base URL http://localhost:8080 (dev)
SESSION_COOKIE_SECRET String used to sign sessions Any strong random string
TOKEN_ENCRYPTION_KEY AES key to encrypt OAuth tokens 32-character hex key
DATABASE_URL Postgres connection string Supabase / Local Postgres
FRONTEND_ORIGIN Frontend URL origin http://localhost:3000 (dev)
WORKER_POOL_SIZE Bounded worker count Default: 5

Frontend Environment Variables (Next.js)

Variable Purpose Source / Value
NEXT_PUBLIC_API_BASE_URL Path to backend server http://localhost:8080 (dev)
NEXT_PUBLIC_USE_MOCK_API Toggle to mock server responses true or false

Clone this wiki locally