diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..50d5bf3 --- /dev/null +++ b/.env.production @@ -0,0 +1,50 @@ +# furt-lua/.env.production +# Production Environment Configuration Template + +# ===================================== +# API KEYS (CHANGE THESE!) +# ===================================== +# Generate secure keys: openssl rand -hex 32 +HUGO_API_KEY=daw-hugo-$(openssl rand -hex 16) +ADMIN_API_KEY=daw-admin-$(openssl rand -hex 16) +MONITORING_API_KEY=daw-monitor-$(openssl rand -hex 16) + +# ===================================== +# SMTP CONFIGURATION +# ===================================== +SMTP_HOST=mail.dragons-at-work.de +SMTP_PORT=465 +SMTP_USERNAME=noreply@dragons-at-work.de +SMTP_PASSWORD=your-secure-smtp-password-here +SMTP_FROM=noreply@dragons-at-work.de +SMTP_TO=michael@dragons-at-work.de + +# ===================================== +# CORS CONFIGURATION (Production Domains) +# ===================================== +CORS_ALLOWED_ORIGINS=https://dragons-at-work.de,https://www.dragons-at-work.de + +# ===================================== +# GATEWAY CONFIGURATION +# ===================================== +GATEWAY_HOST=127.0.0.1 +GATEWAY_PORT=8080 +GATEWAY_LOG_LEVEL=warn + +# ===================================== +# SECURITY SETTINGS +# ===================================== +# Test endpoint (disable in production) +ENABLE_TEST_ENDPOINT=false + +# Rate limiting (production values) +RATE_LIMIT_API_KEY_MAX=60 +RATE_LIMIT_IP_MAX=100 +RATE_LIMIT_WINDOW=3600 + +# ===================================== +# DEVELOPMENT SETTINGS (Remove in production) +# ===================================== +# DEBUG=false +# LOG_REQUESTS=false + diff --git a/.gitea/issue_template/architecture.yml b/.gitea/issue_template/architecture.yml new file mode 100644 index 0000000..da0e7e5 --- /dev/null +++ b/.gitea/issue_template/architecture.yml @@ -0,0 +1,46 @@ +name: 🏗️ Architektur-Diskussion +description: Diskussion über technische Entscheidungen und Architektur +title: "[ARCH] " +labels: ["architecture", "discussion"] +body: + - type: input + id: topic + attributes: + label: "🎯 Thema" + description: "Welcher Architektur-Aspekt soll diskutiert werden?" + placeholder: "z.B. Service-Discovery, Auth-Strategy, Database-Choice" + validations: + required: true + + - type: textarea + id: current_situation + attributes: + label: "📊 Aktuelle Situation" + description: "Wie ist es momentan gelöst?" + + - type: textarea + id: proposed_change + attributes: + label: "💡 Vorgeschlagene Änderung" + description: "Was soll geändert/diskutiert werden?" + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: "🔄 Alternativen" + description: "Welche anderen Ansätze gibt es?" + + - type: checkboxes + id: impact_areas + attributes: + label: "📈 Betroffene Bereiche" + description: "Welche Teile des Systems sind betroffen?" + options: + - label: "Gateway-Performance" + - label: "Service-Integration" + - label: "Sicherheit" + - label: "Skalierbarkeit" + - label: "Wartbarkeit" + - label: "Deployment" diff --git a/.gitea/issue_template/bug_report.yml b/.gitea/issue_template/bug_report.yml new file mode 100644 index 0000000..9e74f39 --- /dev/null +++ b/.gitea/issue_template/bug_report.yml @@ -0,0 +1,49 @@ +name: 🐛 Bug Report +description: Problem mit Gateway oder Service melden +title: "[BUG] " +labels: ["bug"] +body: + - type: dropdown + id: component + attributes: + label: "🎯 Betroffene Komponente" + description: "Welcher Teil des Systems ist betroffen?" + options: + - "Gateway (Routing, Auth, etc.)" + - "Service: formular2mail" + - "Service: sagjan" + - "Konfiguration" + - "Deployment/Scripts" + - "Dokumentation" + validations: + required: true + + - type: textarea + id: bug_description + attributes: + label: "📝 Bug-Beschreibung" + description: "Was ist das Problem?" + placeholder: "Detaillierte Beschreibung des Bugs" + validations: + required: true + + - type: textarea + id: steps_to_reproduce + attributes: + label: "🔄 Schritte zur Reproduktion" + description: "Wie kann der Bug reproduziert werden?" + placeholder: | + 1. Gehe zu ... + 2. Klicke auf ... + 3. Führe aus ... + 4. Fehler tritt auf + validations: + required: true + + - type: textarea + id: expected_behavior + attributes: + label: "✅ Erwartetes Verhalten" + description: "Was sollte stattdessen passieren?" + validations: + required: true diff --git a/.gitea/issue_template/service_request.yml b/.gitea/issue_template/service_request.yml new file mode 100644 index 0000000..0b07b98 --- /dev/null +++ b/.gitea/issue_template/service_request.yml @@ -0,0 +1,53 @@ +name: 🔧 Neuer Service für API-Gateway +description: Anfrage für einen neuen Service im Furt-Gateway +title: "[SERVICE] " +labels: ["service-request", "enhancement"] +body: + - type: input + id: service_name + attributes: + label: "🏷️ Service-Name" + description: "Wie soll der neue Service heißen?" + placeholder: "z.B. newsletter, shop, calendar" + validations: + required: true + + - type: textarea + id: service_description + attributes: + label: "📝 Service-Beschreibung" + description: "Was soll der Service tun?" + placeholder: "Detaillierte Beschreibung der gewünschten Funktionalität" + validations: + required: true + + - type: input + id: service_port + attributes: + label: "🔌 Gewünschter Port" + description: "Auf welchem Port soll der Service laufen?" + placeholder: "z.B. 8083, 8084" + + - type: dropdown + id: priority + attributes: + label: "⚡ Priorität" + description: "Wie dringend wird der Service benötigt?" + options: + - "🔥 Hoch - wird sofort benötigt" + - "📊 Mittel - geplante Entwicklung" + - "📝 Niedrig - nice to have" + validations: + required: true + + - type: checkboxes + id: integration_needs + attributes: + label: "🔗 Integration-Anforderungen" + description: "Welche Integrationen werden benötigt?" + options: + - label: "Hugo-Shortcode" + - label: "OpenAPI-Dokumentation" + - label: "Admin-Interface" + - label: "E-Mail-Benachrichtigungen" + - label: "Datenbank-Speicherung" diff --git a/.version_history b/.version_history index 4620235..53a7394 100644 --- a/.version_history +++ b/.version_history @@ -12,4 +12,3 @@ 25a29c32,cec390e,main,2025-09-02T19:45:08Z,michael,git,lua-api 25a29c32,0c59b27,main,2025-09-03T09:02:41Z,michael,git,lua-api 25a29c32,589dccc,main,2025-09-03T10:16:05Z,michael,git,lua-api -25a29c32,53ef8ad,main,2025-09-03T10:23:47Z,michael,git,lua-api