Lightweight Library For REST API

I am trying to create REST API backend for my single-page-application but I am currently stuck on choosing a library to use. Phoenix seems a bit overkill for a simple REST API. Can anyone recommend a good lightweight library?


What exactly is it you consider overkill?

It is quite lightweight already, and if you use --no-html on project generation HTML related dependencies aren’t even pulled in.

I’ve had success with Plug, as well as just Elli or Cowboy.

Elli is probably the simplest and easiest, Plug is the most well documented.

Thanks for the replys. I did not know about the --no-html flag. Plug seems to be closest to what I am after.

Well, Phoenix is (almost) “just” set of macros that generate plugs.