📝 "feat: Enhanced database interaction in backend"

This commit is contained in:
Till Tomczak 2025-05-26 10:05:30 +02:00
parent 7ce180b402
commit 9efe122e14
2 changed files with 0 additions and 64 deletions

Binary file not shown.

View File

@ -1,64 +0,0 @@
# 🎨 MYP Frontend - Entwicklungsumgebung Konfiguration
# Umgebungsvariablen für die Verbindung zum Raspberry Pi Backend
# === NODE.JS KONFIGURATION ===
NODE_ENV=development
NEXT_TELEMETRY_DISABLED=1
# === FRONTEND SERVER ===
PORT=3000
HOSTNAME=0.0.0.0
FRONTEND_URL=http://localhost:3000
# === BACKEND API KONFIGURATION ===
# Backend-Server Verbindung (Raspberry Pi)
BACKEND_API_URL=http://192.168.0.105:5000/api
BACKEND_HOST=192.168.0.105:5000
NEXT_PUBLIC_API_URL=http://192.168.0.105:5000
NEXT_PUBLIC_BACKEND_HOST=192.168.0.105:5000
# === AUTHENTIFIZIERUNG ===
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=dev-frontend-auth-secret-2024
JWT_SECRET=dev-frontend-jwt-secret-2024
# OAuth Provider (Entwicklung)
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
MICROSOFT_CLIENT_ID=
MICROSOFT_CLIENT_SECRET=
# === DATABASE (Frontend-spezifisch, falls Session Store) ===
# Hinweis: Frontend sollte normalerweise KEINE direkte DB-Verbindung haben
# Diese Werte sind nur für Session-Management relevant
FRONTEND_DB_PATH=db/frontend.db
# === CACHE KONFIGURATION ===
# Frontend-spezifischer Redis Cache (separater Port!)
FRONTEND_REDIS_PASSWORD=dev_frontend_cache_password
FRONTEND_REDIS_HOST=localhost
FRONTEND_REDIS_PORT=6380
FRONTEND_REDIS_DB=1
# === CDN KONFIGURATION ===
CDN_URL=http://localhost:8080
ASSETS_URL=http://localhost:8080/static
# === SICHERHEIT ===
# CSP (Content Security Policy) - Entwicklung
CSP_SCRIPT_SRC="'self' 'unsafe-inline' 'unsafe-eval'"
CSP_STYLE_SRC="'self' 'unsafe-inline'"
CSP_IMG_SRC="'self' data: https:"
CSP_CONNECT_SRC="'self' ws: wss: http://192.168.0.105:5000 http://localhost:5000"
# === MONITORING ===
ANALYTICS_ENABLED=false
ERROR_REPORTING_ENABLED=true
# === ENTWICKLUNG ===
DEBUG=true
NEXT_DEBUG=true
# === BUILD KONFIGURATION ===
ANALYZE=false
BUNDLE_ANALYZER=false