Which organization is better to a client implementation inside the Phoenix MVC folder structure?

Howdy community!

Anyone could please help me define where could I put a client implementation according to the Phoenix MVC folder structure?

For e.g., is the following a good organization for a GitHub client implemented with Tesla?


Or just:



I think something like a service would go into one of the context folders in app/*, check out https://hexdocs.pm/phoenix/contexts.html#content

1 Like