john-kelly / elm-postgrest

Make PostgREST requests in Elm
109 stars 14 forks source link

init and update example on dev branch #56

Closed jbrgfx closed 6 years ago

jbrgfx commented 6 years ago

I like what I see in the dev branch, but I am struggling to construct a prototype. I am not able to interpret from reading the source and from the compiler errors what the dev branch needs in init and update. In the source, you mention that an examples/Main.elm might be the first stop, but I do not find that. Might you find time to draft an example to get us started?

jbrgfx commented 6 years ago

Read: https://dev.to/johndashkelly/a-remote-data-request-api-in-elm-3e5e

And See: https://github.com/john-kelly/elm-postgrest-spa-example/tree/master/src/frontend Thanks . . . Closing

john-kelly commented 6 years ago

👍

jbrgfx commented 6 years ago

The new version is really powerful and much more direct -- easier to reason about and so many added features. Thanks!

frenata commented 6 years ago

I missed seeing this prior, but I recently managed to muddle my way through to a simple proof of concept: https://github.com/frenata/todo-postgrest

john-kelly commented 6 years ago

Additionally, here's a starter-kit I've put together (heavily inspired by the postgrest-starter-kit from that community) https://github.com/john-kelly/elm-postgrest-starter-kit

It includes login with jwt

frenata commented 6 years ago

Very useful, thanks. Will definitely take a look at that as inspiration on tooling moving forward.