npm install dotenv
add require('dotenv').config(); to app.js
now you can access env variable by
process.env.VARIABLE_NAME
0 Comments