-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (21 loc) · 989 Bytes
/
Copy path.env.example
File metadata and controls
28 lines (21 loc) · 989 Bytes
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
# Database
DATABASE_URL="file:./dev.db"
# API
CORS_ORIGIN="http://localhost:3000,http://127.0.0.1:3000"
API_PORT=43100
# Optional: minimum parser confidence (0-100) for automatic email imports
EMAIL_IMPORT_AUTO_APPROVE_CONFIDENCE=90
# Optional: retain a redacted receipt excerpt for review (disabled by default)
# EMAIL_RECEIPT_STORE_BODY_SNAPSHOT=false
# Gmail OAuth (create credentials at https://console.cloud.google.com/)
# Authorized redirect URI: http://127.0.0.1:43100/api/gmail/callback
GOOGLE_OAUTH_CLIENT_ID=""
GOOGLE_OAUTH_CLIENT_SECRET=""
GOOGLE_OAUTH_REDIRECT_URI="http://127.0.0.1:43100/api/gmail/callback"
GMAIL_OAUTH_RETURN_URL="http://127.0.0.1:3000/connect"
# Optional: base64-encoded 32-byte key for encrypting OAuth tokens at rest
# OAUTH_TOKEN_ENCRYPTION_KEY=""
# Optional: directory for SQLite backup files (defaults to ./backups next to the database)
# BACKUP_DIR="./backups"
# Optional: Sentry error tracking (evan-dx org, subsync-api project)
SENTRY_DSN=""