Re: Best REST REST API Library for a new learning project?
Fernando Benavides <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CA+yhPj4q=BGhvRt8ivXT=qZ1vFbYCbeG-G-0SjfdtNJKOWeP0Q@mail.gmail.com> |
You can try with SumoREST <https://github.com/inaka/sumo_rest>. You have an example of how to use it here <https://github.com/inaka/canillita>. But to be fair, we had not maintained it for a while either. It's been a few years since our last update 🤷♂️. On Mon, Apr 19, 2021 at 1:34 PM Giovanni Giorgi <[email protected]> wrote: > On 2021-04-19 09:28, Giovanni Giorgi wrote: > > Hi Everybody, > > I want to build a small private chat as exercise. > > I have already a frontend GUI, so I'd like to build *only* the backend > API in Erlang, with REST JSON API. > > 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). > > REST API: > > Here https://github.com/drobakowski/awesome-erlang#rest-and-api > > 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. > > Someone have suggestions? > > Also a full example would be okey... I have found this > > https://github.com/fishballian/chatBus > > but it is quite old, and the erlbus library did not work properly on my > branch based on rebar3 (it seems to depend on a removed pg2 library). > <https://github.com/daitangio/chatBus/tree/migration-to-erlang-23> > > There are some recent examples I can look for? > > As usual, thank you in advice and happy week! > -- > Giovanni Giorgi via webmail > -- <https://about.me/elbrujohalcon?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb> Brujo Benavides about.me/elbrujohalcon <https://about.me/elbrujohalcon?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb>