forked from themesberg/flowbite-astro-admin-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (54 loc) · 2.32 KB
/
.env.example
File metadata and controls
65 lines (54 loc) · 2.32 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
62
63
64
65
# Aethelgard Frontend Environment Variables
# Copy this file to .env and fill in your actual values
# Never commit your .env file with real API keys!
# ===========================================
# Backend API Configuration
# ===========================================
# Backend server URL (adjust port if different)
PUBLIC_BACKEND_URL=http://localhost:8000
# ===========================================
# OANDA API Configuration
# ===========================================
# Get your free API key from: https://developer.oanda.com
# Use practice account for development and testing
# Practice API URLs (free for development)
PUBLIC_OANDA_API_URL=https://api-fxpractice.oanda.com
PUBLIC_OANDA_STREAM_URL=https://stream-fxpractice.oanda.com
# Your OANDA API credentials (replace with actual values)
OANDA_API_KEY=your_oanda_api_key_here
OANDA_ACCOUNT_ID=your_account_id_here
# Example of real values (DO NOT USE THESE - GET YOUR OWN):
# OANDA_API_KEY=b1a2c3d4e5f6g7h8i9j0k1l2m3n4o5p6-q7r8s9t0u1v2w3x4y5z6
# OANDA_ACCOUNT_ID=101-001-1234567-001
# ===========================================
# Trading Configuration
# ===========================================
# Supported currency pairs (OANDA format with underscore)
PUBLIC_DEFAULT_CURRENCY_PAIRS=EUR_USD,GBP_USD,USD_JPY,USD_CHF,AUD_USD,USD_CAD
# Chart update frequency (milliseconds)
PUBLIC_CHART_UPDATE_INTERVAL=3000
# Enable demo mode when API is not configured
PUBLIC_ENABLE_DEMO_MODE=true
# ===========================================
# Dashboard Configuration
# ===========================================
PUBLIC_APP_NAME=Aethelgard Trading Center
PUBLIC_APP_VERSION=2.0.0
PUBLIC_ENABLE_ANALYTICS=false
# ===========================================
# Development Settings
# ===========================================
PUBLIC_DEBUG_MODE=false
PUBLIC_LOG_LEVEL=info
# ===========================================
# SETUP INSTRUCTIONS:
# ===========================================
# 1. Copy this file to .env: cp .env.example .env
# 2. Register at: https://developer.oanda.com
# 3. Create a practice account
# 4. Generate API token in Account Settings
# 5. Replace OANDA_API_KEY and OANDA_ACCOUNT_ID above
# 6. Start backend server: cd backend && python main.py
# 7. Restart your dev server: npm run dev
# 8. Charts will automatically use live OANDA data!
# 9. All backend API features will be available!