Blog post

Mobbin uses Supabase to authenticate 200,000 users


4 minute read

Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.

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.

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.

Mobbin cover

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.

Mobbing screenshots

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, 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.

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.

Migrating to Supabase meant that we could instantly fix our Auth problems and save money.

Just being on Supabase alone gives us confidence we can deliver on whatever users need in the future.

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

Jian Jie Liau, Co-founder and CTO at Mobbin. avatar

Jian Jie Liau, Co-founder and CTO at Mobbin.

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.

Sign up to Supabase's free tier and set up a scalable backend in less than 2 minutes.

Share this article

Last post

Supabase Auth v2: Phone Auth now available

28 July 2021

Next post

Supabase Storage now in Beta

27 July 2021

Related articles

Supabase Beta December 2022

Launch Week 6 Hackathon Winners

Supabase Vault is now in Beta

PostgREST 11 pre-release

Point in Time Recovery is now available for Pro projects

Build in a weekend, scale to millions