Setting Environment Variables for Node to retrieve

前端 未结 16 1891
-上瘾入骨i
-上瘾入骨i 2020-11-22 15:41

I\'m trying to follow a tutorial and it says:

There are a few ways to load credentials.

  1. Loaded from environment variables,
16条回答
  •  囚心锁ツ
    2020-11-22 16:20

    Just provide the env values on command line

    USER_ID='abc' USER_KEY='def' node app.js
    

提交回复
热议问题