Live data from Hacker News

Supabase (YC S20) – An open source Firebase alternative

supabase.io

31–40 of 374 posts

Re: Supabase (YC S20) – An open source Firebase alternative

#31

Finally, waiting for something along the lines of these. Firebase is kind of the poster child for vendor lock in, and has been around for a long time. It's time we have some healthy competition.

This has been around for a while: https://parseplatform.org/

I've been using parse platform since 3 years ago (after open source; and I'm a happy entrepreneur)

You can test it for free with back4app.com (happy customer, no affiliation)

Re: Supabase (YC S20) – An open source Firebase alternative

#32
post #4

Earlier quoted context omitted.

How much cheaper than Firebase do you expect to be when you launch?

Good (leading) question :) It's hard to answer because we're so early, so the most honest answer I can give is: i don't know. Firebase just changed their pricing to "pay as you go". I need to dig into their pricing to give a good comparison but I think we will be much cheaper for the IAAS aspect - we will try offer more value via the dashboard (i.e. we want to build an Airtable-like interface for non-techies to use),…

Or you can do what many usage-models do, make a calculator and usage on common use-cases.

Re: Supabase (YC S20) – An open source Firebase alternative

#33
post #3

My app is currently built on top of Firebase but I’m keenly aware of the cost of lock-in as traffic escalates. Is this a replacement for the whole suite of Firebase offerings (hosting, auth and data store) or just a subset? What’s the migration pathway for someone currently on Firebase?

We've been building furiously since January but (not surprisingly) we haven't yet reached feature parity. But we will :) > data store Yes - our data store is just Postgres so you can migrate in/out - no lockin > hosting, auth Not yet. We want to nail the auth and we're looking at leveraging Postgres' native Row Level Security. This is a tricky task to "generalize" for all businesses but we have some good ideas (we're…

Interesting, thanks. I've bookmarked your platform, I'll circle back if/when migration away from Firebase pops back on the agenda.

Re: Supabase (YC S20) – An open source Firebase alternative

#34

How do the querying features compare to Firebase? Firebase is notorious for having an unintuitive lack of server-side query options when you start using it.

We've begun work on our serverside libraries, but we have a way to go. Baby steps - Rust: https://github.com/supabase/postgrest-rs Python: https://github.com/supabase/postgrest-py These libraries underly the core supabase libraries. You can vote for more libraries here: https://github.com/supabase/supabase/issues/5

There's also one for JavaScript: https://github.com/supabase/postgrest-js

Re: Supabase (YC S20) – An open source Firebase alternative

#35

Earlier quoted context omitted.

Take a look at Hasura - GraphQL out of the box on top of solid relational database (Postgres)

In Hasura your still need a 3rd party service such as Firebase or 0Auth for Authentication. Also, it depends on Serverless functions for doing any business logic.

I actually built auth directly into Postgres similar to this: https://github.com/sander-io/hasura-jwt-auth (not sure if this is the best idea, but it works well)

For business logic you can trigger (Events) webhooks to any service or stack of your choice or use GraphQL schema stitching. And now there's a new Actins feature as well.

Re: Supabase (YC S20) – An open source Firebase alternative

#36
post #30

Earlier quoted context omitted.

In Hasura your still need a 3rd party service such as Firebase or 0Auth for Authentication. Also, it depends on Serverless functions for doing any business logic.

> In Hasura your still need a 3rd party service such as Firebase or 0Auth for Authentication That's false. You can write your own service or use some open source authentication system, like you would in a normal website. Or use JWT tokens. It doesn't have to be a 3rd-party service.

nhost.io basically does this. it packages Hasura with its own auth backend, as well as an S3 compatible storage backend. They're adding lambda functions soon.

Effectively a firebase alternative using open source tech

https://www.nhost.io

Re: Supabase (YC S20) – An open source Firebase alternative

#37

Earlier quoted context omitted.

Take a look at Hasura - GraphQL out of the box on top of solid relational database (Postgres)

In Hasura your still need a 3rd party service such as Firebase or 0Auth for Authentication. Also, it depends on Serverless functions for doing any business logic.

This is a misconception. Hasura doesn’t depend on serverless functions for doing business logic.

If you are comfortable writing GraphQL, you can add your own custom GraphQL server to Hasura for business logic.

If you are comfortable with REST APIs (or something that already exists), you can use Hasura Actions to define GraphQL types and call your REST endpoint to perform business logic.

Now where this server is hosted is totally upto the user. It can be serverless functions or can be a monolith server (in language of choice) hosted anywhere.

Hasura just needs the endpoint :)

Re: Supabase (YC S20) – An open source Firebase alternative

#38

How do the querying features compare to Firebase? Firebase is notorious for having an unintuitive lack of server-side query options when you start using it.

in addition to @kiwicopple's response, you can also:

- use the js lib - https://supabase.io/docs/library/get

- use your RESTful and Realtime endpoints directly - e.g. .supabase.co/rest/v1/users?select=first_name,age

- or even just connect to the db directly using your favorite SQL tools/ORM

Re: Supabase (YC S20) – An open source Firebase alternative

#39

Finally, waiting for something along the lines of these. Firebase is kind of the poster child for vendor lock in, and has been around for a long time. It's time we have some healthy competition.

Genuinely curious, what are the hot spots for vendor lock-in? I’m currently building an MVP for a large client and I’m thinking of replacing Firebase for a custom back-end if the project grows. I think with the current size it would be easy but I want to avoid passing the point where it becomes hard to undo.

[Supabase cofounder]

Firebase is really only bad if/when you decide to move - usually because of scaling/performance issues. For example, you can only query one document per-second. Once you decide to migrate away, it's very painful - but the truth is all migrations are painful.

This is one of the reasons we chose postgres. If you want to migrate away, you can just "take your database" with you. PG can scale with the best of them.

Edit: I said "you can only query one document per-second" but this is supposed to be "you can only query each document once per-second". Sorry!

Re: Supabase (YC S20) – An open source Firebase alternative

#40
if you can add graphql as well, that would be good for you as a business.

It gives a migration path for people moving out of firebase and onto things like graphql. you bridge both worlds.

quick questions - how are you doing conflict resolution ? CRDT or something.

Post reply on HN