Sumo Rest - The easiest way to build RESTful API servers in #Erlang
Generic Cowboy handlers to work with Sumo DB
Soon enough, we realized that we were duplicating code everywhere. Not every endpoint in our APIs is just a CRUD for some entity, but there are definitely lots of them in every server. As an example, most of our servers provide something like the following list of endpoints:
- GET /users
To avoid (or at least reduce) such duplication, we started using mixer.
Eventually, all applications shared that same base_handler, so we decided to abstract that even further. Into its own app: sumo_rest.