Were would you put code which you want to run only when your application/api starts in vanilla Phoenix application? Let's say I want to make sure some mnesia tables are created or configure my logger backend. The other thing is runtime configuration. They mention it in documentation but it's not clear to me where one would define/change runtime configuration.
Endpoint.ex
seems like a place where initial configuration is done but by looking at docs I can't find any callback that would allow me to run code only once at startup.