Fast Cowboy microservice: Recipe
In nowadays world of microservices and small web applications, Elixir’s ecosystem obviously have it’s own possibilities to implement them. If you want to create small endpoint, process WebHooks for your process or just like to build everything by yourself it’s good idea not to bring to your project heavy-weight frameworks like Phoenix.
Let’s look at how this problem can be easily solved.
TL;DR: Use Aqua to bootstrap ready-to-go project.
$ mix archive.install hex aqua#(only if not installed)
$ mix aqua new plug my_app --ws --static