-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (58 loc) · 2.28 KB
/
Copy path.env.example
File metadata and controls
61 lines (58 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# ============================================================
# ENVIRONMENT VARIABLES - Beispiel-Konfiguration
# ============================================================
#
# Diese Datei zeigt welche Umgebungsvariablen du brauchst.
# Kopiere sie zu .env und fülle die Werte aus.
#
# WICHTIG: .env ist in .gitignore eingetragen und wird NICHT
# committed. Deine Secrets bleiben lokal.
# ============================================================
# VERCEL BLOB STORAGE
# ============================================================
#
# Wird automatisch gesetzt wenn du Blob Storage im Vercel
# Dashboard aktivierst (Storage → Create → Blob → Connect).
#
# Lokal: Wenn nicht gesetzt, nutzt die App einen In-Memory Store.
# Das ist okay zum Entwickeln - Daten gehen bei Neustart verloren.
#
BLOB_READ_WRITE_TOKEN=
# ============================================================
# NOTION API (optional)
# ============================================================
#
# Nur nötig wenn du die Notion-Integration testen willst.
# Die App funktioniert auch ohne Notion.
#
# So bekommst du die Werte:
#
# 1. NOTION_SECRET:
# → https://www.notion.so/my-integrations
# → "New integration" → Name eingeben → Submit
# → "Internal Integration Token" kopieren
#
# 2. NOTION_DATABASE_ID:
# → Neue Database in Notion erstellen
# → Spalten hinzufügen:
# - "Name" (Typ: Title) - MUSS so heißen
# - "Message" (Typ: Text) - MUSS so heißen
# → Integration zur Database einladen:
# → Rechts oben "..." → "Add connections" → Deine Integration
# → Database öffnen → URL kopieren
# → Die ID ist der Teil zwischen notion.so/ und ?v=
# Beispiel: notion.so/abc123def456?v=... → ID = abc123def456
#
NOTION_SECRET=secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NOTION_DATABASE_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ============================================================
# LOKALE ENTWICKLUNG
# ============================================================
#
# Zum Entwickeln brauchst du KEINE dieser Variablen.
#
# - Blob: Nutzt automatisch In-Memory Storage
# - Notion: Zeigt "Nicht konfiguriert" an, Rest funktioniert
#
# Erst für Production auf Vercel musst du die Variablen setzen:
# → Vercel Dashboard → Dein Projekt → Settings → Environment Variables