Skip to content

Environment Variables ​

Backend ​

VariableRequiredDefaultDescription
JWT_SECRETYes--JWT signing secret (app fails without it)
MONGODB_URLYesmongodb://localhost:27017MongoDB connection string
MONGODB_DB_NAMENofinanceDatabase name
REDIS_URLYesredis://localhost:6379Redis connection string
ALLOWED_ORIGINSNolocalhost:3000,3001CORS allowed origins (comma-separated)
ALPACA_API_KEYYes--Alpaca API key
ALPACA_API_SECRETYes--Alpaca API secret
ALPACA_FEEDNoiexProduction uses IEX; the current key has no SIP access
ALPACA_STREAM_ENABLEDNotrueEnable Alpaca WebSocket
DOVIZ_ENABLEDNotrueEnable Turkish currency provider
CRYPTO_ENABLEDNotrueEnable cryptocurrency provider
FINNHUB_API_KEYNo--Finnhub API key
CDN_BASE_URLYes in production--https://cdn.pulsar.investments for bank icons

Frontend ​

VariableRequiredDefaultDescription
NEXT_PUBLIC_API_URLYeshttp://localhost:8000/apiBackend API URL

Released under the MIT License.