Files
ContentGen_FE/.env.example
Harun CAN 0722faeee9
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled
main
2026-03-30 15:18:32 +03:00

24 lines
879 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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