GoConqr has a new look! Let us know what you think.

Mind map

environment variables in node.js

Shameem Nilofer English

Map content

environment variables in node.js

  1. why to use

    • run app in any environment by modifying the env variable
      • which http port to listen which database to point to
  2. when to use

    • anyplace in code that will change based on the environmemt
  3. 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

Feedback

What is it about?

What do you think of the new look?

How do you like it?