Mind map
environment variables in node.js
Map content
environment variables in node.js
why to use
- run app in any environment by modifying the env variable
- which http port to listen which database to point to
- run app in any environment by modifying the env variable
when to use
- anyplace in code that will change based on the environmemt
two ways to set env variable
- command line
- .env file
- create a .env file in the root of the app and set the variables and values
Information
- Description
- Mind Map on environment variables in node.js, created by Shameem Nilofer on 10/10/2020.
- Created by
- Shameem Nilofer · Oct 2020
- Updated
- Oct 15, 2020
- Views
- 0
- Rating