Where can I get the documentation for process.env?
Wat all the variables I can access in that env
For example, what does process.env.port || 1137 do?
I understand process.env is environment and we are looking for port in it. what does || mean?
This is a common notation in JavaScript that allows for default values, typically for user provided options, if none are given.
If
process.env.porthas a value, it is used. If it doesn’t have a value, then 1137 will be used.