Moving your Rocket.new Supabase data is a smaller job than most shutdowns, because the data was never stored at Rocket.new. Rocket.new connects your app to a Supabase project in your own account. So a Rocket.new Supabase migration comes down to one choice: keep that project and connect it to a new builder, or export the data into the new builder’s database.
I’ll give Rocket.new credit here. Building on Supabase, an open-source backend that bundles a Postgres database, user logins and file storage, meant your data stayed in an account you control. What forces the move is the calendar: Rocket.new told users it will shut down on December 31, 2026, and AI building stopped after December 5. Our Rocket.new shutdown guide has the full timeline.
So the real question isn’t whether your data survives. It’s which parts of your app (logins, uploaded files, access rules) need rework wherever you go next.
By the end of this article, you’ll know:
How I put this guide together
This guide is based on official documentation I read in December 2026: Rocket.new’s Supabase docs, Supabase’s backup and restore guide, MongoDB’s mongoimport reference, and the user-migration guides from auth providers that import Supabase accounts. Every command comes from those docs, and I note where a step depends on your CLI version.
Keep your Supabase project (Path A) if your new builder can connect to an external Supabase project. Move the data (Path B) if the new builder runs its own database, the way Vitara.ai runs on MongoDB.
| What moves | Path A: keep your Supabase project | Path B: move to the builder’s own database |
|---|---|---|
| App code | Exported from Rocket.new, then imported or rebuilt | Exported from Rocket.new, then imported or rebuilt |
| Tables and rows | Stay where they are | Exported, reshaped and imported |
| User accounts | Stay, passwords included | Exported; passwords carry over only if the new login system accepts bcrypt hashes |
| Uploaded files | Stay in Supabase Storage | Downloaded and re-uploaded |
| Access rules (RLS) | Keep working | Rewritten as backend checks |
| Edge functions | Keep running in Supabase | Rewritten as backend routes |
| Effort | Lower | Higher, but you end up on one platform |
Path A is faster because nothing in the database moves. The other thing to watch: you’ll pay for and maintain two services (the builder and Supabase) instead of one.
Your Supabase project holds everything except your app’s screens: tables, user accounts, access rules, uploaded files and server functions. Before you export anything, check which of those a database backup captures, because two of them don’t come along.
| Piece of your app | Where it lives | Included in a database dump? |
|---|---|---|
| Your tables (bookings, profiles, orders) | public schema in Postgres | Yes |
| User accounts and password hashes | auth.users and auth.identities | Yes |
| RLS policies, functions and triggers | Postgres | Yes |
| Uploaded files (images, PDFs) | Supabase Storage buckets | No, only the file records |
| Edge functions and their secrets | Supabase Edge Functions | No |
| Schema history | supabase/migrations/ in your Rocket.new code | In the code export |
RLS, short for Row-Level Security, is a set of rules inside the database that decide which rows each logged-in user can read or change. Supabase’s restore guide confirms a dump includes RLS policies, functions, triggers and auth.users, while Storage files are downloaded separately.
Sign in to the Supabase dashboard directly, with the account you used when you connected Rocket.new, and look for the project under your organization. Rocket.new’s Supabase connection flow either selects an existing project or creates a new one in your account. If a teammate connected it, the project may sit in their organization, so ask them to add you or transfer it before December 31.
Resume it before you export. Supabase pauses Free plan projects with low activity over a 7-day period, and a paused database won’t answer export commands until you click Resume project in the dashboard. Projects on paid plans are never paused.
Back up first, because every later step reads from this copy, and a failed import only costs you time when the original is safe. Plan on four pieces: the database, a readable CSV copy, your Storage files and your secrets.
Run the Supabase CLI’s db dump command three times: once for roles, once for the schema (table structure, policies and functions) and once for the rows. These commands come from Supabase’s backup and restore guide. You’ll find your connection string under the Connect button in your project’s dashboard.
supabase db dump –remote=”$DB_URL” -f roles.sql –role-only
supabase db dump –remote=”$DB_URL” -f schema.sql
supabase db dump –remote=”$DB_URL” -f data.sql –use-copy –data-only \
-x “storage.buckets_vectors” -x “storage.vector_indexes”
If your CLI version rejects –remote, older releases take the same value through –db-url, as shown in Supabase’s self-hosting restore guide. Run supabase –version and update the CLI if you’re unsure.
Treat data.sql like a password file. It holds every user’s email address and password hash, so keep it out of GitHub, chat tools and shared drives.
CSV works as a readable second copy, or as the whole export for a small app with a few tables. In Supabase’s Table Editor, open a table and export it as CSV, one table at a time. That matters because you can open a CSV in a spreadsheet and sanity-check your numbers in seconds.
The catch is that CSV turns every value into plain text and drops the links between tables. For the migration itself, keep the CLI dump as your source of truth.
Download each bucket yourself, because a database dump copies only the records that point to your files, not the files. Supabase lists three ways to download objects: the dashboard (file by file), the Supabase CLI’s storage commands, or any S3-compatible tool. Once you have more than a handful of files, a command-line tool saves you clicking through each one.
For the S3 route, create access keys in your project’s Storage settings using Supabase’s S3 authentication guide, then copy each bucket:
aws configure –profile supabase-s3
aws s3 cp s3://avatars ./storage-backup/avatars \
–profile supabase-s3 \
–endpoint-url https://<project-ref>.supabase.co/storage/v1/s3 \
–recursive –region <region>
Replace avatars with each bucket name, and <project-ref> and <region> with your project’s values. The command follows Supabase’sStorage troubleshooting guide.
They sit in your Supabase project, not in Rocket.new. Edge functions are small server-side programs (for example, one that sends a welcome email), and Rocket.new deploys them to Supabase and stores their secrets there. Copy each function’s code from the Edge Functions page in your Supabase dashboard, and write down the names of the secrets it uses.
Do the same for your app’s environment variables in Rocket.new. The ZIP export includes environment variable templates, not your real keys, so copy the actual values (Stripe, Resend, OpenAI and so on) into a password manager before the platform closes.
Path A works when your new builder accepts an external Supabase project, because your tables, users and files never move. You only move the app code and point it at the same project.
1. Export your code from Rocket.new. Open Code view and click Download for a ZIP, which requires a Pro plan or above and works only in a web browser. You can also push the project to GitHub from the same toolbar, as described in Rocket.new’s GitHub docs.
2. Import or rebuild the app in your new builder. Connect the GitHub repository or upload the ZIP, depending on what the builder accepts.
3. Add your Supabase keys. Copy the Project URL and the anon (or publishable) key from your Supabase project’s API settings into the new builder’s environment variables. Never put the service_role key in frontend code: Rocket.new’s own security checklist warns that it bypasses RLS entirely.
4. Update your login URLs. In Supabase, open Authentication, then URL Configuration, and set the Site URL and redirect URLs to the new app’s address. Skip this and confirmation and password-reset emails keep sending people to the old app. If you use Google or GitHub sign-in, add the new address in those providers’ settings too.
5. Test with real accounts. Sign up a new user, log in with an existing one, upload a file and load a page as two different users to confirm each sees only their own data.
The catch with Path A is ongoing cost and upkeep: you’ll pay for your builder and for Supabase, and a project left on Supabase’s Free plan can still be paused for inactivity. I’d pick Path A if your Rocket.new app is a web app that works today and you want it running elsewhere before December 31 with the fewest changes.
One variant is worth knowing. If you’d rather start from a clean Supabase project than the one Rocket.new set up, Supabase documents moving auth users between projects with their hashed passwords, so nobody has to reset anything. Rocket.new’s docs add that a new project need severy script in supabase/migrations/ run in order to match your app’s schema.
Path B means reshaping your data, not just copying it, because Supabase runs on Postgres and MongoDB stores data differently. Postgres is a relational database: data sits in tables with fixed columns, and tables link through shared IDs. MongoDB is a document database: each record is a JSON-like document, and related data can live inside it.
I’d only make this move if your new platform is built on MongoDB, as Vitara.ai is. If your app runs reports that join five tables, Postgres is the better home and Path A is the better call.
Each table usually becomes a collection, but child tables that are always loaded with their parent fold into it. Here’s how I’d map a typical Rocket.new booking app with profiles, services, bookings and booking_addons tables:
| In Supabase (Postgres) | In MongoDB | Why |
|---|---|---|
| profiles row linked to auth.users | One document in users | Login and profile data are read together |
| bookings.service_id foreign key | serviceId field with the same ID | MongoDB doesn’t enforce links, so your backend checks them |
| booking_addons child rows | Array inside each booking document | Add-ons are always loaded with their booking |
| uuid primary key | _id holding the same string | Every existing reference stays valid |
| timestamptz column | Date | Sorting and date-range queries need real dates |
| jsonb column | Embedded object | It’s already JSON |
| numeric price | Integer cents or Decimal128 | Avoids rounding errors on money |
| Enum such as booking_status | String, validated in the backend | MongoDB has no database enums |
Keeping the original IDs matters most. Every booking still points to the right customer, and you can compare any record in both databases by its ID while you test.
Export JSON, not CSV. mongoimport, MongoDB’s import tool, reads newline-delimited JSON (one document per line) by default and keeps numbers, booleans and arrays intact. CSV imports every value as text unless you declare each column’s type with–columnsHaveTypes.
Postgres can build each document for you. This psql command writes one booking per line, folds in its add-ons and wraps the date in MongoDB’s Extended JSON $date format, so it lands as a real date instead of a string:
psql “$DB_URL” -At -c ”
select json_build_object(
‘_id’, b.id,
‘userId’, b.user_id,
‘serviceId’, b.service_id,
‘status’, b.status,
‘startsAt’, json_build_object(‘\$date’, b.starts_at),
‘addons’, coalesce(
(select json_agg(a.name) from public.booking_addons a where a.booking_id = b.id),
‘[]’::json)
)
from public.bookings b” > bookings.json
mongoimport –uri “$MONGODB_URI” –collection bookings –file bookings.json
Run one export and import per collection. If CSV files are all you have, mongoimport –type=csv –headerline imports them using the first row as field names, per MongoDB’s examples.
Rewrite each RLS policy as a check in your API code. A Node.js backend usually connects to MongoDB as a single database user, so a rule like “each customer sees only their own bookings” has to live in the route that reads bookings. Here’s one policy and its replacement:
create policy “Customers see their own bookings”
on public.bookings for select
using (auth.uid() = user_id);
// Same rule, enforced in an Express route
app.get(‘/api/bookings’, requireAuth, async (req, res) => {
const bookings = await db.collection(‘bookings’)
.find({ userId: req.user.id })
.toArray();
res.json(bookings);
});
To make sure you miss none, list every policy in your exported code with grep -rni “create policy” supabase/migrations. A missed policy breaks nothing you can see, which is why I consider it the riskiest step of the migration: the app works and quietly shows one customer another customer’s data.
Upload the files from your Storage backup to the new platform’s storage, keeping the same folder structure. Then update every field that stores a file address, such as avatar_url, because those still point at <project-ref>.supabase.co. One updateMany per collection using MongoDB’s $replaceAll can swap the old domain for the new one.
Check three things before you move any real users over:
You can keep your users’ passwords if the new login system accepts bcrypt hashes. Supabase stores each password as a bcrypt hash (a one-way scrambled version of the password) in the encrypted_password column of auth.users, according to WorkOS’s Supabase migration guide. Auth providers includingClerk, WorkOS andKinde document importing those hashes, so users sign in with the password they already have.
That matters because a forced reset asks every user to act on an email, and anyone who doesn’t act can’t log in.
Export your users from the Supabase SQL Editor with this query, adapted from WorkOS’s guide:
select u.id, u.email, u.encrypted_password, u.email_confirmed_at,
u.raw_user_meta_data, u.created_at, i.provider
from auth.users u
left join auth.identities i on i.user_id = u.id
order by u.created_at;
A user who signed up with email and later linked Google appears on two rows, one per sign-in method. Download the result as CSV, import it, then delete the file: it’s the most sensitive thing you’ll handle in the whole migration.
Two groups need extra care. Users who signed in only with Google or GitHub have no password hash, so they sign in again through the same provider and the new system matches them by email. Users with two-factor authentication should expect to set it up again, so check your new provider’s docs on authenticator apps before the switch.
If your new login system can’t verify bcrypt hashes, send three emails so nobody gets locked out without warning:
| When | What it says | |
|---|---|---|
| 3 to 5 days before the switch | Heads-up | The new app address, the switch date and that they’ll set a new password |
| Switch day | Reset link | A one-click link to set a password on the new app |
| 3 days after | Reminder | Sent only to users who haven’t reset yet |
Schedule the switch before December 31, while your Rocket.new-hosted app is still online, so anyone who misses the first email can still reach you.
Vitara.ai is an AI app builder that creates full-stack web apps (React) and mobile apps (React Native with Expo) that share one backend (Node.js or Python) and one MongoDB database. You build by chatting or by starting from a ready-made app template, and you own and can download your code. Plans start free, with paid plans from $20 a month.
For Rocket.new users, Vitara.ai is a natural Path B destination. Your Supabase data moves into MongoDB, the same database type Vitara.ai’s apps run on, so the table-to-collection mapping above is the exact prep work the move needs.
Here’s what that looks like in practice. Say your Rocket.new project is a salon booking app: a web app where customers book, and a Flutter app your staff use to manage the day. On Vitara.ai, you’d start from the Appointment Booking template or describe the app in chat, and get a React web app and a React Native mobile app that read the same bookings from one backend. You end up with one backend and one database to maintain, and no separate Supabase bill.
Vitara.ai rebuilds your app instead of importing Rocket.new’s Next.js or Flutter code, and for many Rocket.new users that’s the better deal. You get a clean React and React Native codebase that you own and can download, instead of carrying over generated code you’d have to untangle later. Plan for some review time: compare each rebuilt screen with your old app before you switch users over.
Your code ownership also answers the question this shutdown raised. Vitara.ai’s Build plan includes code download, so if you ever want to host the app yourself, the code and data go with you.
Now the math. Vitara.ai estimates a booking app MVP at about 40 credits when built from a template, or about 20 with its Economy Mode. The Build plan costs $20 a month and includes 100 credits plus code download, according to the pricing page. By Vitara.ai’s own numbers, the rebuild fits inside one month of Build, with credits left over for fixes.
Ready to rebuild?
Start building with Vitara.ai from the Appointment Booking template, or compare Vitara.ai’s plans first.
Each of these takes a minute to avoid and much longer to fix afterward:
Choose by where your app is going next, not by which export feels easiest:
Before you start, ask yourself three questions:
Answer those, take your backups this week, and the rest is a checklist. If Vitara.ai fits your answers, you can start building your app on Vitara.ai for free.
No. Rocket.new connects apps to a Supabase project in the user's own Supabase account, so Rocket.new closing on December 31, 2026 doesn't delete that project. Sign in to Supabase directly to confirm you can reach it, and export a backup anyway, because Supabase pauses Free plan projects after a week of low activity.
Use the Supabase CLI's db dump command to export roles, schema and data as three SQL files, which also captures your auth users and RLS policies. For a quick readable copy, export individual tables as CSV from the Table Editor. Storage files are not part of either export, so download each bucket separately.
Yes, but it's a reshaping job rather than a one-click copy. You map Postgres tables to MongoDB collections, export rows as newline-delimited JSON with dates wrapped in Extended JSON $date, and load them with mongoimport. Supabase's RLS policies don't carry over, so each one has to be rewritten as a check in your backend code.
Only if the new login system can't verify bcrypt hashes. Supabase stores passwords as bcrypt hashes in auth.users, and providers such as Clerk, WorkOS and Kinde document importing them so users keep their passwords. Staying on Supabase, or moving auth users to a new Supabase project, also keeps every password.
Its data lives in the same Supabase project as a web app's, so the backup and migration steps above apply unchanged. The Flutter code itself needs either a builder that runs Flutter or a rebuild. Vitara.ai builds mobile apps in React Native with Expo, so moving there means rebuilding the app, not importing the Flutter code.
After the new app has served real users, your record counts match and your users have logged in successfully. Before deleting, take one final db dump and Storage download and keep them offline. I'd wait at least one full billing cycle, because some problems (a monthly report, a renewal email) only show up once a month.