3 ms·
You can get really far with database views (decorating data, especially), functions (all sorts of biz logic) and Postgres roles for RBAC. But I hear you on inte
by cpursley 4y ago
You can get really far with database views (decorating data, especially), functions (all sorts of biz logic) and Postgres roles for RBAC. But I hear you on integrating with 3rd party APIs, etc. Fwiw, there's a number of PostgREST backend client libraries to help with that.
- blowski 4y agoTotally agree that it's possible. But at some level, it may just be easier to use something else. If you're a strong Postgres DBA, I can see how you'd come down on the side of PostgREST. If you're a strong Rails dev, it would make more sense to use that.
- deleted 4y ago[deleted]
- cpursley 4y agoFWIW: https://github.com/supabase-community/supabase-rb https://github.com/supabase-community/supabase-rb
- wharfjumper 4y agoI presume you mean postgres client libraries? Or have I missed a postgrest feature?
- cpursley 4y agoEither or. There are a number of server client libraries that work directly with PostgREST: https://postgrest.org/en/stable/ecosystem.html#client-side-libraries https://postgrest.org/en/stable/ecosystem.html#client-side-l...