Files
assetsTracker/.env.example
2026-04-02 15:56:03 +02:00

23 lines
1.1 KiB
Plaintext
Raw 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.
# Appwrite für Frontend (Vite) und Setup-Skript
# Erstelle eine Kopie: .env (wird von Git ignoriert)
# Öffentliche Werte (werden im Frontend verwendet nur VITE_* wird eingebunden)
VITE_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
VITE_APPWRITE_PROJECT_ID=dein-projekt-id
VITE_APPWRITE_DATABASE_ID=defekttrack_db
# Optional: Storage-Bucket-ID für Kommentar-Anhänge (Standard: defekttrack_anhaenge)
# VITE_APPWRITE_ATTACHMENTS_BUCKET_ID=defekttrack_anhaenge
# Nur Dev: Wenn VITE_APPWRITE_ENDPOINT=http://localhost:5173/v1 — wohin Vite /v1 weiterleitet (Origin ohne /v1)
# Standard im Repo: https://appwrite.webklar.com — bei eigenem Server hier die Basis-URL eintragen.
# VITE_APPWRITE_PROXY_TARGET=https://appwrite.webklar.com
# Nur für das Setup-Skript (npm run setup) und API-Server nicht im Frontend
APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
APPWRITE_API_KEY=dein-api-key-hier
# Admin-API: Nur für POST /api/admin/create-user (Frontend sendet diesen Wert im Header)
ADMIN_SECRET=dein-geheimes-admin-token
VITE_ADMIN_SECRET=dein-geheimes-admin-token