Phoenix 1.7 directory structure for wrappers

phi
Wed, 27 Mar 2024 03:18:35 +0000
Questions / Help

Hi all,

I’m just getting back to learning Phoenix 1.7 after a small hiatus and I’m building a simple one-page site that connects to a Marketing Email API. Maybe I’m overthinking it, but I was wondering where one would go about placing an Elixir wrapper file for the API integration?

I was thinking it would just go in lib/hello/mailchimp.ex for example, or is there a better organization structure? Doesn’t really matter this specific small project, but was thinking for larger projects I could have many such files.

Thanks for any help!

9 posts - 5 participants