25 ms·
disclaimer: author of supabase/pg_graphql > What should AWS do -> provide Postgres or similar as a database choice If you're interested a postgres option you
by oliverrice 3y ago
disclaimer: author of supabase/pg_graphql
> What should AWS do -> provide Postgres or similar as a database choice
If you're interested a postgres option you could check out Supabase GraphQL[1] which is based on pg_graphql [2], a native PostgreSQL extension.
You define your schema in SQL (including any indexes you'd like) and it reflects a full GraphQL API. With that stack, the example you gave about filtering for security would use be solved using a Row Level Security [3] policy where the work all occurs on the DB.
While not a part of pg_graphql, using Supabase as a backend also handles Auth [4] & Storage [5] (both OSS) which covers most of the Amplify bases
[1] https://supabase.com/docs/guides/api#graphql-api-overview https://supabase.com/docs/guides/api#graphql-api-overview
[2] https://github.com/supabase/pg_graphql https://github.com/supabase/pg_graphql
[3] https://www.postgresql.org/docs/current/sql-createpolicy.html https://www.postgresql.org/docs/current/sql-createpolicy.htm...
[5] https://supabase.com/docs/guides/auth https://supabase.com/docs/guides/auth
[5] https://supabase.com/docs/guides/storage https://supabase.com/docs/guides/storage
- smotched 3y agoSupabase will never be a realistic option for any company thats heard of mobile. Even if the startup is starting web only, they're kneecapping their future so its not an option Amplify has amazing mobile sdks (esp ios).
- simlevesque 3y ago> Supabase will never be a realistic option What if they make a mobile SDK too ? Seems like your comment is an hyperbole.
- kiwicopple 3y ago(supabase ceo) I'm not sure why GP would think it's never going to be an option. One of the things we're releasing this week is better mobile support. Swift SDK is here: https://supabase.com/docs/reference/swift/introduction https://supabase.com/docs/reference/swift/introduction