The question is not really about the interface. There are a myriad guides on how to structure a web project in Elixir and Phoenix.
As for REST, I usually decide what hypermedia formats I’m going to support. Is it HAL, JSONAPI, Siren, or something else? Then I implement my business logic as a library.


















