If I am understanding your query correct, I think what you want to look into are Behaviours:
https://elixirschool.com/lessons/advanced/behaviours/
.. also.. while I 100% understand the “write something I want/need to learn ..” you may also want to take a look at GitHub - stavro/arc: 📎 Flexible file upload and attachment library for Elixir · GitHub if you haven’t already come across it. If nothing else, it may give inspiration and/or a starting point …
Cheers, and enjoy your new journey in the land of Elixir!






















