Working with Environment Variables in NodeJS
Reading Time: 3 minutes Introduction Environment variables are one of the most important concepts of Nodejs that allow the application to behave differently for each environment such as development, stage, and production. It is commonly used for: protecting secrets (DB config, API keys, etc) assigning dynamic system resources like port_name, host_name, etc. How to read environment variables from node.js The process core module of Node.js provides the env property Continue Reading