Email Sorter Beta
Ich habe soweit automatisiert the Emails sortieren aber ich muss noch schauen was es fur bugs es gibt wenn die app online ist deswegen wurde ich mit diesen Commit die website veroffentlichen obwohjl es sein konnte das es noch nicht fertig ist und verkaufs bereit
This commit is contained in:
72
server/env.example
Normal file
72
server/env.example
Normal file
@@ -0,0 +1,72 @@
|
||||
# ═══════════════════════════════════════════════════════════════════════════
|
||||
# EmailSorter Backend - Konfiguration
|
||||
# ═══════════════════════════════════════════════════════════════════════════
|
||||
# Kopiere diese Datei nach `.env` und fülle die Werte aus.
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Server Einstellungen
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
PORT=3000
|
||||
NODE_ENV=development
|
||||
BASE_URL=http://localhost:3000
|
||||
FRONTEND_URL=http://localhost:5173
|
||||
|
||||
# CORS Einstellungen (optional, nutzt FRONTEND_URL als Default)
|
||||
# CORS_ORIGIN=http://localhost:5173
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Appwrite (ERFORDERLICH)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Erstelle ein Projekt auf https://cloud.appwrite.io
|
||||
APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
|
||||
APPWRITE_PROJECT_ID=dein_projekt_id
|
||||
APPWRITE_API_KEY=dein_api_key_mit_allen_berechtigungen
|
||||
APPWRITE_DATABASE_ID=email_sorter_db
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Stripe (ERFORDERLICH)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Dashboard: https://dashboard.stripe.com
|
||||
STRIPE_SECRET_KEY=sk_test_...
|
||||
STRIPE_WEBHOOK_SECRET=whsec_...
|
||||
|
||||
# Subscription Preise (erstelle diese im Stripe Dashboard)
|
||||
STRIPE_PRICE_BASIC=price_basic_monthly
|
||||
STRIPE_PRICE_PRO=price_pro_monthly
|
||||
STRIPE_PRICE_BUSINESS=price_business_monthly
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Mistral AI (EMPFOHLEN)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# API Key von https://console.mistral.ai
|
||||
MISTRAL_API_KEY=dein_mistral_api_key
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Google OAuth - Gmail Integration (OPTIONAL)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Einrichtung: https://console.cloud.google.com
|
||||
# 1. Neues Projekt erstellen
|
||||
# 2. Gmail API aktivieren
|
||||
# 3. OAuth Consent Screen konfigurieren
|
||||
# 4. OAuth 2.0 Credentials erstellen
|
||||
GOOGLE_CLIENT_ID=xxx.apps.googleusercontent.com
|
||||
GOOGLE_CLIENT_SECRET=GOCSPX-xxx
|
||||
GOOGLE_REDIRECT_URI=http://localhost:3000/api/oauth/gmail/callback
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Microsoft OAuth - Outlook Integration (OPTIONAL)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Einrichtung: https://portal.azure.com
|
||||
# 1. App Registration erstellen
|
||||
# 2. API Permissions: Mail.ReadWrite, User.Read, offline_access
|
||||
# 3. Client Secret erstellen
|
||||
# 4. Redirect URI konfigurieren
|
||||
MICROSOFT_CLIENT_ID=xxx-xxx-xxx
|
||||
MICROSOFT_CLIENT_SECRET=xxx
|
||||
MICROSOFT_REDIRECT_URI=http://localhost:3000/api/oauth/outlook/callback
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Rate Limiting (OPTIONAL)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# RATE_LIMIT_WINDOW_MS=60000
|
||||
# RATE_LIMIT_MAX=100
|
||||
Reference in New Issue
Block a user