-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (24 loc) · 1.12 KB
/
.env.example
File metadata and controls
31 lines (24 loc) · 1.12 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
# Unitag API Configuration
# Get your API key from https://console.sandbox.unitag.io/settings (sandbox) or https://console.unitag.io/settings (production)
# For sandbox testing (1000 calls per day, QR codes deleted after 6 months)
UNITAG_API_KEY=your-sandbox-api-key-here
UNITAG_ENVIRONMENT=sandbox
# For production
# UNITAG_API_KEY=your-production-api-key-here
# UNITAG_ENVIRONMENT=production
# Optional: Domain ID for dynamic-pro QR codes (get from /domains endpoint)
UNITAG_DOMAIN_ID=your-domain-id-here
# Optional: Specific QR code ID for testing updates/deletes
UNITAG_QR_CODE_ID=your-qr-code-id-for-testing
# ==========================================
# Testing Configuration
# ==========================================
# Set to 'true' to run tests against real Unitag API (uses UNITAG_API_KEY above)
# Set to 'false' or omit to use mock data (default, recommended)
# USE_REAL_API=false
# Note: Real API tests will:
# - Make actual HTTP requests to Unitag API
# - Count against your rate limit
# - Create/modify real QR codes (in sandbox if using sandbox key)
# - Be slower than mocked tests
# Only use for integration testing!