The following environment variables are required to be set when starting The Donatinator.
Specifies what port the webserver should listen on (default: 3000).
Depending on your hosting this may be provided by the platform. If you host yourself you should provide it in the script or environment you use to start the server. For example the Heroku platform provides this to your app directly every time your server starts.
In general you should set this to
production. Any other value is not supported by us.
Your Stripe Publishable Key.
Your Stripe Secret Key.
The endpoint secret as specified when you set up a Stripe Webhook from within Stripe.
Note: you can set up multiple endpoints in Stripe, so this is specific to the endpoint on your Donatinator app.
Specifies the fully qualified database URL your app's database resides on.
This is set automatically by the Heroku platform when you provision a Postgres add-on. You'll have to set this if you are hosting your app yourself.