FORUM
Discuss [ Programming ] | dotenv node js | Views(17)

- install dotenv

npm i dotenv

- put in app.js

require("dotenv").config()

- call variables

process.env.VARIABLE


Variable example:

VARIABLE = VALUE

arrow