[erlang-questions] REST server

Vlad Dumitrescu vladdu55@REDACTED
Mon Mar 7 20:45:03 CET 2016


Thanks for pointing out sumo_rest. It is indeed a bit more than I need (I
won't have any database backend in the conventional meaning), but looks
worth checking out in more detail.

regards,
Vlad


On Mon, Mar 7, 2016 at 8:31 PM, Brujo Benavides <
fernando.benavides@REDACTED> wrote:

> As its author, it’s my duty :P to recommend you to take a look at
> sumo_rest <https://github.com/inaka/sumo_rest> on github or our blog
> <http://inaka.net/blog/2016/01/04/canillita-your-first-erlang-web-server-V2/>
> .
> It might be more than what you need, but you can probably take advantage
> of the examples, individual libraries (like cowboy-trails and
> cowboy-swagger) or even the general architecture approach there.
> Cheers!
>
> On Mar 7, 2016, at 16:27, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
>
> Hi!
>
> I am an almost complete noob regarding this, so please excuse me if I am
> asking questions with obvious answers.
>
> I have an application that I'd like to expose via a REST api. From what I
> could find quickly, in the Erlang world it looks like the main options are
> Webmachine and Cowboy.
>
> Does anyone have any advice on which one fits better my requirements, as
> below?
>
> - the server must be embeddable in another application, i.e. possible to
> start/stop without a release
> - it must be possible to configure it to use a dynamic port value
> (multiple independent servers may run on the same machine)
> - the REST API is delegating to an Erlang API, so ease of implementation
> would be nice :-)
> - if it is possible to run multiple servers on the same Erlang runtime,
> then it would be a big plus
>
> best regards,
> Vlad
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160307/efaec96d/attachment.htm>


More information about the erlang-questions mailing list