Hi, i have a phoenix 1.3 website. I want add api for the mobile app.
What are the best pratices for add these?
is better create a subfolder “api” in
or create the file
lib/myapp_api.ex and the folder
Is there any documentation of this?
I would put them under lib/myapp_web/controllers as they are controllers. But I would also prefer graphql over rest api as it acts as the main entry point of your api.
And now that the Absinthe book is out, it is a good reason to give it a try
Hello @romaluca! Did you solve the problem eventually? How?