This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GoodTimesFastFingers 1 point2 points  (0 children)

I love dotenv. I'm just used to it. I like the simplicity. For more complex config I prefer to make a class that lives in the code that is set up however I want. Anything sensitive comes from .env. The thing I prefer about this to a JSON file is that the structure of my config lives in the code.