<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">You can try with <a href="https://github.com/inaka/sumo_rest">SumoREST</a>. You have an example of how to use it <a href="https://github.com/inaka/canillita">here</a>.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">But to be fair, we had not maintained it for a while either. It's been a few years since our last update 🤷‍♂️.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 19, 2021 at 1:34 PM Giovanni Giorgi <<a href="mailto:jj@gioorgi.com">jj@gioorgi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p id="gmail-m_-5311677466306851619reply-intro">On 2021-04-19 09:28, Giovanni Giorgi wrote:</p>
<div id="gmail-m_-5311677466306851619replybody1">
<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" rel="noopener noreferrer" target="_blank">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" rel="noopener noreferrer" target="_blank">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" rel="noopener noreferrer" target="_blank">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="gmail-m_-5311677466306851619signature">-- <br>
<div style="margin:0px;padding:0px;font-family:monospace">Giovanni Giorgi via webmail</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><table border="0" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td align="left" valign="bottom" width="107" style="line-height:0;vertical-align:bottom;padding-right:10px;padding-top:20px;padding-bottom:20px">
                <a href="https://about.me/elbrujohalcon?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" style="text-decoration:none" target="_blank">
                    <img src="https://thumbs.about.me/thumbnail/users/e/l/b/elbrujohalcon_emailsig.jpg?_1498084031_146" alt="" width="105" height="70" style="margin: 0px; padding: 0px; display: block; border: 1px solid rgb(238, 238, 238);">
                </a>
            </td>
            <td align="left" valign="bottom" style="line-height:1.1;vertical-align:bottom;padding-top:20px;padding-bottom:20px">
                <img src="https://about.me/t/sig?u=elbrujohalcon" width="1" height="1" style="border: 0px; margin: 0px; padding: 0px; overflow: hidden;">
                <div style="font-size:18px;font-weight:bold;color:rgb(51,51,51);font-family:"Proxima Nova",Helvetica,Arial,sans-serif">Brujo Benavides</div>
                <a href="https://about.me/elbrujohalcon?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb" style="text-decoration:none;font-size:12px;color:rgb(43,130,173);font-family:"Proxima Nova",Helvetica,Arial,sans-serif" target="_blank">about.me/elbrujohalcon
                </a>
            </td>
        </tr>
    </tbody>
</table>
</div>