widgettdc-api / apps /backend /.env.example
Kraft102's picture
Update backend source
34367da verified
# Server Configuration
PORT=3001
NODE_ENV=development
# Database (PostgreSQL with pgvector)
DATABASE_URL="postgresql://widgetdc:widgetdc_dev@localhost:5432/widgetdc?schema=public"
# Neo4j Graph Database (for GraphRAG)
NEO4J_URI=bolt://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=password
# Redis Event Bus
REDIS_URL="redis://localhost:6379"
# JWT Secret (change in production!)
JWT_SECRET=your-secret-key-change-in-production
# Aula OAuth (for Epic 18 - Personal Entities)
AULA_CLIENT_ID=your_aula_client_id
AULA_CLIENT_SECRET=your_aula_client_secret
AULA_REDIRECT_URI=http://localhost:3001/api/auth/aula/callback
# AI/LLM Services (optional)
# OPENAI_API_KEY=your_openai_key
# GEMINI_API_KEY=your_gemini_key
# Security Services (optional)
# OPENSEARCH_NODE=http://localhost:9200
# OPENSEARCH_USERNAME=admin
# OPENSEARCH_PASSWORD=admin
# MINIO_ENDPOINT=localhost
# MINIO_PORT=9000
# MINIO_ACCESS_KEY=minioadmin
# MINIO_SECRET_KEY=minioadmin
# ════════════════════════════════════════════════════════════════════════════
# TDC Showpad Integration
# ════════════════════════════════════════════════════════════════════════════
# Brand asset management for PowerPoint generation and brand compliance
# Documentation: showpad-integration/README.md
# Showpad Instance Configuration
SHOWPAD_SUBDOMAIN=tdcerhverv
SHOWPAD_BASE_URL=https://tdcerhverv.showpad.biz
# Authentication - Option 1: OAuth 2.0 (Recommended)
# SHOWPAD_CLIENT_ID=your_oauth_client_id
# SHOWPAD_CLIENT_SECRET=your_oauth_client_secret
# Authentication - Option 2: Username/Password (Legacy)
# SHOWPAD_USERNAME=your_email@example.com
# SHOWPAD_PASSWORD=your_password
# API Configuration
SHOWPAD_API_VERSION=v4
# Cache Settings (milliseconds, default 24h)
SHOWPAD_CACHE_TTL=86400000