main
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-03-30 15:18:32 +03:00
parent 8bd995ea18
commit 0722faeee9
12 changed files with 12796 additions and 13 deletions

View File

@@ -1,12 +1,24 @@
# NextAuth Configuration
# Generate a secret with: openssl rand -base64 32
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key-here
# Backend API URL
NEXT_PUBLIC_API_URL=http://localhost:3001/api
# Auth Mode: true = login required, false = public access with optional login
NEXT_PUBLIC_AUTH_REQUIRED=false
NEXT_PUBLIC_GOOGLE_API_KEY='api-key'
# 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