Mapa mental
environment variables in node.js
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre environment variables in node.js, criado por Shameem Nilofer em 10-10-2020.
- Criado por
- Shameem Nilofer · out 2020
- Atualizado
- 15 out 2020
- Visualizações
- 0
- Avaliação