.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
MONGODB_URI
secret
Database Configuration
JWT_SECRET
secret
JWT Configuration
JWT_EXPIRE
secret
STRIPE_SECRET_KEY
secret
Stripe Configuration
STRIPE_PUBLISHABLE_KEY
secret
PAYPAL_CLIENT_ID
PayPal Configuration
PAYPAL_CLIENT_SECRET
secret
PAYPAL_MODE
REDIS_HOST
Redis Configuration (for queue management)
REDIS_PORT
REDIS_PASSWORD
secret
EMAIL_HOST
Email Configuration (optional)
EMAIL_PORT
EMAIL_USER
EMAIL_PASS
PORT
Server Configuration
NODE_ENV
brew install flyctl && fly launch --from https://github.com/anonfedora/health-care
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/anonfedora/health-care
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/anonfedora/health-care