Supabase Integration with Existing Project

Hello, quick question for those who have done what I have before:

I have felt like bubble.io was hitting several limitations with my project. I don’t want to throw away what I have built inside bubble.io, but I have recently been building a lot of my own pages/parts of the application on next.js and hosting on my own server. Sorta “blending” the two.

However, I am running into a brick wall with how to go about the database. My hunch is to duplicate the bubble.io database into Supabase, and have them sync with each other.

Can anyone give me some insight? I don’t know what I am getting into - but I have a feeling I’m going to spend a week on Supabase recreating my bubble structure - and then another week getting them to sync and rebuilding the bubble workflows.

Thoughts or advice?

Or do I just throw away my bubble project and convert to full Next.js?

Thanks!

I would not advise running two dbs that are essentially duplicates of each other. That will lead to nothing but pain.

You have a couple of options:

  1. Move to Supabase completely for the db and just use Bubble as a front end
  2. Use the Bubble Data API to integrate your Next.js front end with the Bubble db

As for whether you should move to Next.js completely, that’s a deeper question. What type of limitations were you running into with your project initially that led you down this path?