<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">If you're using Erlang on the backend -
perhaps you might consider PouchDB in the app, and CouchDB on the
backend.<br>
<br>
Miles Fidelman<br>
<br>
Giovanni Giorgi wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1d1fc6cf6dc696e185109ddfe2eb2f25@gioorgi.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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"
moz-do-not-send="true">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"
moz-do-not-send="true">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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
In theory, there is no difference between theory and practice.
In practice, there is. .... Yogi Berra
Theory is when you know everything but nothing works.
Practice is when everything works but no one knows why.
In our lab, theory and practice are combined:
nothing works and no one knows why. ... unknown</pre>
</body>
</html>