env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in env.example)
NEXT_PUBLIC_API_URL
The base URL of the Traqora backend API. Type: [URL] | Default: http://localhost:3001
PORT
The port the backend server will listen on. Type: [Number] | Default: 3001
NODE_ENV
The application environment. Type: [Enum: development | staging | production | test] | Default: development
CORS_ORIGIN
Allowed origin for CORS headers. Type: [URL] | Default: http://localhost:3000
TRUST_PROXY
Trust reverse proxy headers (e.g., X-Forwarded-For). Set to true when behind Cloudflare, Nginx, etc. Type: [Boolean] | Default: false
STELLAR_NETWORK
The Stellar network to connect to. Type: [Enum: production | testnet | standalone] | Default: testnet
STELLAR_SECRET_KEY
secret
The private key of the Stellar account used by the backend for transactions. Type: [String] | Default: (None Generate a secure key for…
HORIZON_URL
The URL of the Horizon server. Type: [URL] | Default: https://horizon-testnet.stellar.org
SOROBAN_RPC_URL
The URL of the Soroban RPC endpoint. Type: [URL] | Default: https://soroban-testnet.stellar.org
BOOKING_CONTRACT_ID
The contract ID for the Flight Booking contract. Type: [String] | Default: DEFAULT_ID
AIRLINE_CONTRACT_ID
The contract ID for the Airline management contract. Type: [String] | Default: DEFAULT_ID
REFUND_CONTRACT_ID
The contract ID for the Refund automation contract. Type: [String] | Default: DEFAULT_ID
LOYALTY_CONTRACT_ID
The contract ID for the Loyalty reward contract. Type: [String] | Default: DEFAULT_ID
GOVERNANCE_CONTRACT_ID
The contract ID for the Governance voting contract. Type: [String] | Default: DEFAULT_ID
TOKEN_CONTRACT_ID
secret
The contract ID for the native/custom Utility Token. Type: [String] | Default: DEFAULT_ID
FLIGHT_REGISTRY_CONTRACT_ID
The contract ID for the Flight Registry contract. Type: [String] | Default: DEFAULT_ID
DATABASE_URL
secret
Database Connection URL. Supports SQLite, PostgreSQL, etc. Type: [String] | Default: sqlite::memory: Example (Postgres):…
REDIS_URL
secret
Redis Connection URL for caching and rate limiting. Type: [URL] | Default: redis://localhost:6379
MONGO_URI
MongoDB Connection URI (optional, for specific logging or read-models). Type: [String] | Default: (None)
JWT_SECRET
secret
Secret key for signing Access JWTs. Must be at least 32 characters long. Type: [String] | Default: your-secret-key-at-least-32-chars-long
brew install flyctl && fly launch --from https://github.com/anonfedora/traqora
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/anonfedora/traqora
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/anonfedora/traqora