Where to store basic information about the app?


I would like to store basic information about the website (app name, contact email etc) inside a single file so I could easily get to that info from multiple places in my app. I was thinking about storing them inside a config.exs file but I was wondering if that’s a good idea or is there maybe a better approach?


Depending on your use case, the place to start would probably be in mix.exs using ExDoc:


This collects the basic information you’re talking about, though whether it will be suitable for your uses may depend on what those are.

Yes, that would do it, thanks a lot!