create environment variable in heroku code example
Example 1: export command for node in heroku
$ heroku config:set GITHUB_USERNAME=joesmith
Adding config vars and restarting myapp... done, v12
GITHUB_USERNAME: joesmith
Example 2: heroku variables console
To check variables:
heroku config
To set variables:
heroku config:set VARIABLE_HERE=value