to run this locally npm install dotenv node -r dotenv/config application.js See https://www.npmjs.com/package/dotenv for details.