<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p id="reply-intro">On 2021-04-19 09:28, Giovanni Giorgi wrote:</p>
<div id="replybody1">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi Everybody,</p>
<p>I want to build a small private chat as exercise.</p>
<p>I have already a frontend GUI, so I'd like to build <em>only</em> the backend API in Erlang, with REST JSON API.</p>
<p>I have some trouble to find out a REST API library based on JSON (the one you use with Angular/React front end, to be clear).</p>
<p>REST API: </p>
<p>Here <a href="https://github.com/drobakowski/awesome-erlang#rest-and-api" target="_blank" rel="noopener noreferrer">https://github.com/drobakowski/awesome-erlang#rest-and-api</a></p>
<p>leptus (2018) and rooster (2017) are quite old. I was able to run leptus on Erlang 23 after fixing some old lib deps, but leptu web site seems down and I cannot understand if it is maintained.</p>
<p>Someone have suggestions?</p>
<p>Also a full example would be okey... I have found this</p>
<p><a href="https://github.com/fishballian/chatBus" target="_blank" rel="noopener noreferrer">https://github.com/fishballian/chatBus</a></p>
<p>but it is quite old, and the erlbus library did not work properly on <a href="https://github.com/daitangio/chatBus/tree/migration-to-erlang-23" target="_blank" rel="noopener noreferrer">my branch based on rebar3 (it seems to depend on a removed pg2 library).</a></p>
<p>There are some recent examples I can look for?</p>
<p>As usual, thank you in advice and happy week!</p>
</div>
</div>
<div id="signature">-- <br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Giovanni Giorgi via webmail</div>
</div>
</body></html>