Mindmap
environment variables in node.js
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am environment variables in node.js, erstellt von Shameem Nilofer am 10/10/2020.
- Erstellt von
- Shameem Nilofer · Okt 2020
- Aktualisiert
- 15 Okt 2020
- Aufrufe
- 0
- Bewertung