Rest Api using elixir

What should be the best approach to build REST Api in elixir ? I have heard Phoenix is very powerful but I don’t want to use it as I am building only REST Api’s . Should I use native cowboy or some plugs? What should be the best approach , moreover I even want to follow MVC . Is there any sample of similar project .

1 Like

mix phx.new [name] --no-brunch --no-html is probably what you’re looking for. All you need to do after this is delete the user_channel and remove the user endpoint and you have a rest api.

3 Likes

This seems to be the one . Thanks

1 Like

Please note for the new Phoenix 1.4 You will need to replace…

--no-brunch with --no-webpack
3 Likes