mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 16:39:05 +00:00
## What Updates links in `apps/www` that pointed at redirecting URLs so they point at the final destination, and fixes a few broken links: ## Testing - Every replacement destination was requested and returns 200 with no further redirect - Prettier passes on all changed files - Content and data changes only, apart from the one-line `/vector` fix in `MagnifiedProducts.tsx` Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
90 lines
4.9 KiB
Plaintext
90 lines
4.9 KiB
Plaintext
---
|
||
title: 'Mobbin uses Supabase to authenticate 200,000 users'
|
||
description: Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.
|
||
author: rory_wilding
|
||
author_url: https://github.com/roryw10
|
||
author_image_url: https://github.com/roryw10.png
|
||
imgSocial: mobbin/og-mobbin-supabase.jpg
|
||
imgThumb: mobbin/cover-mobbin-supabase.jpg
|
||
categories:
|
||
- company
|
||
tags:
|
||
- auth
|
||
date: '2021-07-28'
|
||
toc_depth: 2
|
||
---
|
||
|
||
Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.
|
||
|
||
[Mobbin](/customers/mobbin) helps over 200,000 creators globally search and view the latest design patterns from well-known apps.
|
||
Their platform allows creators to search screenshots of mobile apps to inspire product development.
|
||
Creators use Mobbin to combine inspiration and develop new experiences.
|
||
|
||
## From Idea to 30,000 users in one Product Hunt launch
|
||
|
||
The initial concept for Mobbin was just a Dropbox full of screenshots. After sharing with their early users,
|
||
the team tried organizing them into folders but this quickly became unscalable. Clear interest from users encouraged them to build a full website. They used Firebase for the backend and launched on
|
||
[Product Hunt](https://www.producthunt.com/posts/mobbin-1).
|
||
|
||
Mobbin went viral, and within the first week they had 30,000 users. In just over two years, they have grown to over 200,000
|
||
registered users through word of mouth. Their curation continues to attract designers and creators globally.
|
||
|
||

|
||
|
||
## Scaling issues put Mobbin growth at risk
|
||
|
||
Firebase helped the team launch quickly, but at scale, they found Firebase lacked the functionality required for a high-quality user experience.
|
||
|
||
The first problem was duplicate user logins. Firebase Authentication doesn't automatically merge users with the same email address.
|
||
For example, users cannot log in with Google and Facebook if they share the same email address.
|
||
Users struggled to upgrade to a paid account because they couldn't remember which authentication provider they signed up with.
|
||
|
||
Next, they had issues with data integrity. While Firebase has 99.95% uptime, application code can (and does) fail.
|
||
Mobbin didn't want to implement idempotence for every mutative Firebase Function. Between a failed Function execution and a retry,
|
||
a document state might change without strict validation. The team could never be confident their data had the level of integrity they required.
|
||
|
||
Finally, the team grew concerned with their increasing Firebase bill. Because of the document-based data structure,
|
||
their API requests required several round trips. At one point, they were making 5 million API requests per month.
|
||
These round trips made their website slow and led to a notable time investment hacking together a fix.
|
||
|
||

|
||
|
||
## Migrating to Supabase
|
||
|
||
Mobbin's initial product gave them a comprehensive understanding of customer requirements. For their second version,
|
||
they needed a better authentication experience, fairer pricing, and a relational database to deliver a quality
|
||
application sustainable for their business model.
|
||
|
||
The team found Supabase and realized it covered all the bases. Not only that, their team had experience with the
|
||
tools open source tools that Supabase is built with.
|
||
|
||
Auth, built using [GoTrue](https://github.com/supabase/auth), instantly solved their users' login issues.
|
||
Under the hood, Supabase is just Postgres, and Jian Jie (co-founder and CTO of Mobbin) knows this is one of the best battle-tested
|
||
open source [relational databases](/database).
|
||
|
||
They decided that moving to Supabase was a no-brainer. The process itself was smooth - the real challenge was validating their
|
||
data integrity due to historical failures on their serverless functions.
|
||
|
||
Mobbin is now successfully running on top of Supabase, with superior performance compared to their old Firebase setup.
|
||
Because Supabase does not charge based on API requests, Mobbin significantly reduced their monthly spending without maintaining a custom backend.
|
||
|
||
<Quote img="jian-mobbin.jpg" caption="Jian Jie Liau, Co-founder and CTO at Mobbin.">
|
||
<p>Migrating to Supabase meant that we could instantly fix our Auth problems and save money.</p>
|
||
<p>
|
||
Just being on Supabase alone gives us confidence we can deliver on whatever users need in the
|
||
future.
|
||
</p>
|
||
<p>
|
||
The cool thing is now we know under the hood it's just Postgres, it really does feel like
|
||
anything is possible for the future of our product
|
||
</p>
|
||
</Quote>
|
||
|
||
## Supabase saves Mobbin time and money
|
||
|
||
Migrating to Supabase helped the team at Mobbin instantly improve the end-user experience and save costs.
|
||
They now add new features with confidence, and they continue to help creators all over the globe find inspiration for their next project.
|
||
You can [check out Mobbin on their website](https://mobbin.design/browse/ios/apps).
|
||
|
||
Sign up to Supabase's Free Plan and set up a scalable backend in less than 2 minutes.
|