forked from Epondia/starked-education
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (34 loc) · 1.14 KB
/
Copy path.env.example
File metadata and controls
43 lines (34 loc) · 1.14 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
# StarkEd Environment Configuration
# Application
NODE_ENV=development
PORT=3001
# Stellar Configuration
STELLAR_NETWORK=testnet
STELLAR_SECRET_KEY=your_stellar_secret_key_here
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
CONTRACT_ADDRESS=your_deployed_contract_address_here
# Analytics Contract Configuration
ANALYTICS_CONTRACT_ID=your_analytics_contract_id_here
ADMIN_PRIVATE_KEY=your_admin_secret_key_here
# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/starked_education
REDIS_URL=redis://localhost:6379
# JWT Configuration
JWT_SECRET=your_super_secret_jwt_key_here
JWT_EXPIRES_IN=24h
# IPFS Configuration
IPFS_GATEWAY_URL=https://ipfs.io/ipfs/
IPFS_API_URL=https://api.ipfs.io/api/v0
# Frontend Configuration
NEXT_PUBLIC_API_URL=http://localhost:3001
NEXT_PUBLIC_STELLAR_NETWORK=testnet
NEXT_PUBLIC_CONTRACT_ADDRESS=your_deployed_contract_address_here
# Development
LOG_LEVEL=debug
ENABLE_CORS=true
# Production (uncomment for production)
# NODE_ENV=production
# STELLAR_NETWORK=mainnet
# STELLAR_HORIZON_URL=https://horizon.stellar.org
# LOG_LEVEL=info