Files
winninghunter/.env.production.example
T
hikmet4434 bf2fc272f2 feat: Google OAuth ile giris
- User modeline googleId (unique) eklendi
- google start/callback API route'lari (state korumali, find-or-create)
- Login/register sayfalarina Google butonu
- docker-compose'a GOOGLE_CLIENT_ID/SECRET env gecisi
- tsconfig.tsbuildinfo gitignore'a eklendi
2026-08-02 16:50:34 +03:00

15 lines
481 B
Bash

NEXT_PUBLIC_APP_URL=https://your-domain.com
DATABASE_URL="postgresql://USER:PASSWORD@HOST:5432/winninghunter?schema=public"
AUTH_COOKIE_NAME=wh_session
AUTH_SESSION_DAYS=30
ADMIN_EMAILS="admin@winninghunter.local"
# Google OAuth (https://console.cloud.google.com/apis/credentials)
# Authorized redirect URI: {NEXT_PUBLIC_APP_URL}/api/auth/google/callback
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# For docker-compose
POSTGRES_PASSWORD="change-this-long-random-password"
PORT=3000