.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NODE_ENV
Server Configuration
PORT
API_VERSION
SUPABASE_URL
Database Configuration (Supabase)
SUPABASE_ANON_KEY
secret
SUPABASE_SERVICE_ROLE_KEY
secret
DATABASE_URL
secret
Database Connection (Direct PostgreSQL)
PRIORITY_ALPHA
Priority Score Configuration
PRIORITY_BETA
GRACE_PERIOD_MINUTES
Grace Period Configuration (in minutes)
DEFAULT_PAGE_LIMIT
Pagination Configuration
MAX_PAGE_LIMIT
MAX_CONVERSATION_FETCH
LOG_LEVEL
Logging
ORCHESTRATOR_URL
Orchestrator Service (Message History & Delivery)
ORCHESTRATOR_API_KEY
secret
brew install flyctl && fly launch --from https://github.com/09catho/backend-assignment
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/09catho/backend-assignment
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/09catho/backend-assignment