DEV Community


Discussion on: The Environment Variables Pattern

4r7d3c0 profile image

Hi thanks for the post, yes env variable is an absolute must!
There's some history behind them in the Early days of Unix video by the person who made sh and env vars too :D

Also please check out my package envariable that will read the .env file into your process.env object to be able to develop locally! I use it for every web server during local development. When deployed, the file won't be there and they'll be read from the actual environment (like heroku, etc)

mojemoron profile image
Micheal Ojemoron Author

Great, I will check it out