Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want to subscribe to changes in a Postgresql database, whether produced by your app or not, you can also use Hasura or PostGraphile:

https://docs.hasura.io/1.0/graphql/manual/subscriptions/inde...

https://www.graphile.org/postgraphile/realtime/



There is a big difference between the changestream of many SQL and noSQL databases, and what RxDB does. See https://news.ycombinator.com/item?id=21353971


I tried out Postgraphile Realtime and it's pretty cool.

For anyone who wants something similar that's not GraphQL, then I'm in the early stages of developing a Phoenix (Elixir) implementation which broadcasts changes over websockets: https://github.com/supabase/realtime

See comments here: https://news.ycombinator.com/item?id=21354039


Neat; happy to have inspired you!


You did Benjie! Postgraphile is really an awesome piece of tech. I use PostgREST a lot, and I see graphile as an awesome graphql equivalent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: