Implementiere Kundenportal mit zentraler Appwrite-Anbindung.

Express-Server für Appwrite-Auth, Session, Projekt-Dashboard und Gitea-Webhook; statisches Frontend und Schema-Dokumentation für woms-database.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-22 23:38:38 +02:00
commit f31727aeb4
23 changed files with 2056 additions and 0 deletions

21
.env.example Normal file
View File

@@ -0,0 +1,21 @@
PORT=3000
SESSION_SECRET=change-me-to-a-random-string-at-least-32-chars
SESSION_COOKIE_NAME=webklar_portal_session
APPWRITE_ENDPOINT=https://ticket.webklar.com/v1
APPWRITE_PROJECT_ID=6a1058610003c5a13a05
APPWRITE_DATABASE_ID=woms-database
APPWRITE_API_KEY=
APPWRITE_COLLECTION_CUSTOMERS=customers
APPWRITE_COLLECTION_CUSTOMER_PORTAL_ACCESS=customerPortalAccess
APPWRITE_COLLECTION_WEBSITE_PROJECTS=websiteProjects
APPWRITE_COLLECTION_PORTAL_FEATURES=portalFeatures
GITEA_WEBHOOK_TOKEN=
GITEA_BASE_URL=https://git.webklar.com
GITEA_API_TOKEN=
PREVIEW_DEPLOY_ROOT=/var/www/previews
PREVIEW_BASE_HOST=project.webklar.com
ALLOWED_CUSTOMER_STATUSES=active