When you don’t have a server-side programming background, environment variables can seem like a bit of magic. That lack of knowledge smacks you in the face like a bag of dicks, when you’re done creating todo applications on your localhost, and try to create a production build for the first time.
Full article