Files
assetsTracker/.env.example
T
2026-03-15 21:19:49 +01:00

16 lines
663 B
Bash
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
# 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