<div dir="ltr">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.<div><br></div><div>regards,</div><div>Vlad</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 8:31 PM, Brujo Benavides <span dir="ltr"><<a href="mailto:fernando.benavides@inakanetworks.com" target="_blank">fernando.benavides@inakanetworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">As its author, it’s my duty :P to recommend you to take a look at <a href="https://github.com/inaka/sumo_rest" target="_blank">sumo_rest</a> on github or <a href="http://inaka.net/blog/2016/01/04/canillita-your-first-erlang-web-server-V2/" target="_blank">our blog</a>.<div>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.</div><div>Cheers!<br><div><div><div><br><div><blockquote type="cite"><div><div class="h5"><div>On Mar 7, 2016, at 16:27, Vlad Dumitrescu <<a href="mailto:vladdu55@gmail.com" target="_blank">vladdu55@gmail.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr">Hi!<div><br></div><div>I am an almost complete noob regarding this, so please excuse me if I am asking questions with obvious answers.</div><div><br></div><div>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.</div><div><br></div><div>Does anyone have any advice on which one fits better my requirements, as below?</div><div><br></div><div>- the server must be embeddable in another application, i.e. possible to start/stop without a release</div><div>- it must be possible to configure it to use a dynamic port value (multiple independent servers may run on the same machine)</div><div>- the REST API is delegating to an Erlang API, so ease of implementation would be nice :-)</div><div>- if it is possible to run multiple servers on the same Erlang runtime, then it would be a big plus </div><div><br></div><div>best regards,</div><div>Vlad</div><div><br></div></div></div></div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>