.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DATABASE_URL
secret
JWT_SECRET
secret
JWT_SECRET_DEVELOPPEMENT
secret
SALT_ROUNDS
SESSION_SECRET
secret
Session secret for Express sessions (used by AdminJS)
RATE_LIMIT_LOGIN_MAX
Rate Limiting Configuration
RATE_LIMIT_LOGIN_WINDOW_MS
RATE_LIMIT_LOGOUT_MAX
RATE_LIMIT_LOGOUT_WINDOW_MS
brew install flyctl && fly launch --from https://github.com/andremiras/factory-sa-backend
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/andremiras/factory-sa-backend
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/andremiras/factory-sa-backend