It's standard to use uppercase strings for environment variables names; e.g. mongo_uri → MONGO_URI, pageAccessToken → PAGE_ACCESS_TOKEN, validationToken → VALIDATION_TOKEN.
Bonus: if mongo_uri is renamed to MONGODB_URI (instead of MONGO_URI), then the Heroku mLab add-on can be used, for easier setup and consolidated billing.
It's standard to use uppercase strings for environment variables names; e.g.
mongo_uri
→MONGO_URI
,pageAccessToken
→PAGE_ACCESS_TOKEN
,validationToken
→VALIDATION_TOKEN
.Bonus: if
mongo_uri
is renamed toMONGODB_URI
(instead ofMONGO_URI
), then the Heroku mLab add-on can be used, for easier setup and consolidated billing.