generated from fahricansecer/boilerplate-fe
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled
24 lines
879 B
Plaintext
24 lines
879 B
Plaintext
# NextAuth Configuration
|
||
# Generate a secret with: openssl rand -base64 32
|
||
NEXTAUTH_URL=http://localhost:3001
|
||
NEXTAUTH_SECRET=your-secret-key-here
|
||
|
||
# Backend API URL (Next.js proxy üzerinden)
|
||
# Local: http://localhost:3001/api (proxy)
|
||
# Production: https://api.contentgen.ai/api
|
||
NEXT_PUBLIC_API_URL=http://localhost:3001/api
|
||
|
||
# WebSocket URL (Backend sunucu — proxy YOK, direkt)
|
||
# Local: http://localhost:3000
|
||
# Production: https://api.contentgen.ai
|
||
NEXT_PUBLIC_WS_URL=http://localhost:3000
|
||
|
||
# Auth Mode: true = login zorunlu, false = public + opsiyonel login
|
||
NEXT_PUBLIC_AUTH_REQUIRED=true
|
||
|
||
# Gemini AI (Frontend doğrudan kullanımı için, opsiyonel)
|
||
NEXT_PUBLIC_GOOGLE_API_KEY=your-google-api-key
|
||
|
||
# Mock mode: Backend olmadan arayüz geliştirmek için
|
||
# true = tüm API çağrıları mock verilerle yanıtlanır
|
||
NEXT_PUBLIC_ENABLE_MOCK_MODE=false
|