Configuration¶
Übersicht¶
Die Dealer Suite verwendet Environment Variables für die Konfiguration.
Backend Konfiguration¶
wrangler.toml¶
name = "morelo-backend"
compatibility_date = "2024-01-01"
[[d1_databases]]
binding = "DB"
database_name = "morelo-db"
database_id = "YOUR_DATABASE_ID"
[vars]
ENVIRONMENT = "development"
Secrets (.dev.vars)¶
JWT_SECRET=your-super-secret-key-min-32-chars
MS365_CLIENT_ID=your-ms365-client-id
MS365_CLIENT_SECRET=your-ms365-secret
Frontend Konfiguration¶
.env¶
Integrations¶
MS365¶
- Azure Portal → App Registration
- API Permissions:
Calendars.ReadWrite,Contacts.Read - Client ID & Secret in Backend eintragen
Salesforce¶
- Salesforce Setup → Connected Apps
- OAuth Settings aktivieren
- Consumer Key & Secret in Backend eintragen