What this move covers
1904 is a cloud control plane for coding agents with a built-in software factory. When you import a Rocket.new repository into 1904, the move kit helps you keep your repository, adjust dev-server host and port settings, supply real API keys in encrypted App Configuration, copy your Postgres schema and data into 1904’s own internal Postgres server, verify auth and webhook callbacks, and cut over your custom domain. Flutter projects route to 1904’s phone-app path.
Sync to GitHub and copy your real keys
Export your code and record every live secret before Rocket.new goes offline on December 31, 2026. GitHub sync preserves commit history; ZIP download gives you a snapshot if you prefer to push to a fresh Git repository yourself.
- Sync your project to GitHub: Open your Rocket.new project, open the GitHub / code export control, connect GitHub, and push your latest changes (exact Rocket UI labels and sync steps across plans are unverified against a live export). For Next.js projects, third-party migration guides report that Rocket pushes to a
rocket-updatebranch and opens a pull request intomain(unverified across all Rocket frameworks) — merge that PR somainhas your latest code. - Or download the ZIP archive: Download the project ZIP from Rocket.new (exact export archive contents are unverified), unzip it locally, initialize Git (
git init), and push it to a private GitHub repository. - Copy your real keys out of Rocket now: Exported
.env(web) andenv.json(mobile) template files contain placeholder values rather than your live secrets (file names and placeholder formats are unverified across all Rocket templates). In Rocket.new, open your project’s Settings › Environment (both staging and production tabs; exact menu labels unverified) and copy every real API key — Stripe, AI providers (OpenAI, Anthropic, Gemini), email/SMS, and OAuth client secrets — into your password manager before December 31, 2026. - Record your database connection string: If your Rocket app uses Supabase, open your Supabase project dashboard under Project Settings › Database and copy the direct PostgreSQL connection string so 1904 can read your schema and data into 1904’s internal Postgres.
Before moving on Confirm your latest code is on GitHub and your real third-party API keys are saved safely outside Rocket.new. Never commit real keys into Git.
Import into 1904 and review dev-server settings
- Create a 1904 workspace or sign in to import an existing repository.
- Choose Choose from my repositories (recommended to keep working in your GitHub repo through branches and pull requests) or Copy from a Git link to import into a fresh private repository.
- 1904 checks multiple signals — such as a
rocket-updatebranch, a Vite dev server pinned to port4028(unverified across all templates) with Rocket-onlyallowedHosts(for example.builtwithrocket.new— unverified across all exports),@dhiwise/component-tagger(unverified across all exports), and.env/env.jsonplaceholder templates (unverified across all exports) — to recognize Rocket.new projects automatically without blocking normal imports. - Click Import app. On the receipt, open the Rocket.new move kit card to inspect the minimal dev-server diff for web apps: binding
0.0.0.0, readingprocess.env.PORTwith 1904’s assigned port fallback, and replacing Rocket-onlyallowedHostsrestrictions so 1904 previews load cleanly.
server: {
- port: 4028,
+ port: Number(process.env.PORT) || 3000,
host: "0.0.0.0",
- strictPort: true,
- allowedHosts: [".amazonaws.com", ".builtwithrocket.new"]
+ strictPort: false,
+ allowedHosts: true
}Store your real keys in 1904 App Configuration
1904 parses the exported .env or env.json templates (the full vocabulary of Rocket placeholder strings across every template is unverified, so 1904 matches common placeholder patterns and lets you review every detected variable) and prompts for your real values directly in the move kit.
- Encrypted storage only: Values are saved exclusively through 1904’s encrypted App Configuration store and injected at runtime. They are never written to your Git repository, logs, analytics, or agent transcripts.
- Platform-managed database URL:
DATABASE_URLis provisioned and injected automatically by 1904’s internal Postgres server; you do not need to set it manually. - Ready gate: 1904 marks which required keys are still missing and holds the move kit’s ready state until each required key is supplied or explicitly skipped.
Move your database into 1904’s internal Postgres
Rather than leaving your app split across external Supabase hosting, 1904 provisions a dedicated internal PostgreSQL database and role for your imported app inside your environment.
- In the Rocket.new move kit, paste your source PostgreSQL connection string into the masked source field (used transiently over HTTPS for the migration only — never saved to disk or logged).
- Click Preview migration plan first. 1904 connects to the source database strictly in read-only mode, inspects your application schemas, warns you if another imported Rocket app already pointed at the same source database, and confirms your newly provisioned 1904 target database is empty (refusing to run against a non-empty target unless you explicitly confirm).
- Click Migrate into 1904 Postgres. The migration runs non-destructively and resumable in strict order: allowlisted extensions → schema first (tables, indexes, constraints, sequences) → table data → sequence resets → row-count verification report comparing source vs target rows per table.
What is not carried over automatically Supabase system schemas (auth, storage, realtime), Supabase Auth users and sessions, Supabase Storage buckets and files, Supabase Edge Functions, and Row-Level Security policies bound to Supabase roles (authenticated, anon, service_role, auth.uid()) are skipped and listed in the report. Port auth to app-level authentication in your 1904 app, move uploaded files into SHIPT_APP_DATA_DIR or object storage, and convert Edge Functions into standard API routes.
Check auth callbacks, OAuth, and webhooks
Before pointing your custom domain at 1904, run the pre-cutover checklist in the move kit so logins and payments do not break when Rocket.new goes offline:
- Hardcoded Rocket domains: Remove any remaining
*.builtwithrocket.neworrocket.newlinks flagged by the scan. - Auth Site URL and redirects: Update your auth provider’s Site URL and allowed redirect URLs (for password resets, magic links, and OAuth callbacks) to your 1904 address or custom domain.
- Google and GitHub OAuth callbacks: Add your 1904 callback URLs in Google Cloud Console and GitHub OAuth App settings before removing the old Rocket URLs.
- Stripe and external webhooks: Update Stripe webhook endpoints (and any email/SMS webhooks) to your 1904 URL and store the new webhook signing secret in 1904 App Configuration.
Switch your custom domain in 1904
Once your app runs cleanly on its 1904 address and the pre-cutover checks pass, open your app’s Settings › Domains & access page in 1904. Add your custom domain and create the two DNS records shown there; 1904 verifies ownership and provisions HTTPS certificates and renewals automatically. See the custom domain guide and domain documentation for details.
Moving a Rocket Flutter mobile app
Rocket.new generates mobile apps using Flutter (Dart) with a pubspec.yaml declaring the Flutter SDK and configuration in env.json (exact Flutter project layout across all Rocket versions is unverified). When 1904 detects pubspec.yaml with the Flutter SDK during import, it routes the project directly to 1904’s phone-app path (iPhone and Android) instead of the web dev-server path, skipping web Vite rewrites while still surfacing env.json placeholder key prompts and database migration steps.
Learn more in the mobile app guide and Mobile apps FAQ.
If you get stuck
My Rocket repo uses Next.js instead of Vite
That works too. 1904 does not hard-fail when vite.config.* is absent: if a rocket-update branch or placeholder .env templates are detected, you still get the key prompts, internal Postgres migration, and pre-cutover checklist.
Two of my Rocket apps shared one Supabase database
1904 computes a non-secret fingerprint of each source database host and name and warns you when two imported apps point at the same source. Each 1904 app receives its own isolated internal PostgreSQL database so apps cannot overwrite each other.
My app still imports Supabase client SDK code
After migrating your tables into 1904’s internal Postgres, open an agent task in 1904 Agents to replace Supabase client queries with direct PostgreSQL queries using DATABASE_URL and review the diff before merging.
References and verification notes
- TechCrunch (Nov 29, 2026) — Rocket shutting down Dec 31
- Moneycontrol — Dec 6 build cutoff and Dec 31 shutdown timeline
- 1904 Guide — Import an existing app
- 1904 Guide — Connect a custom domain
- 1904 Guide — Build and preview a phone app
Verification note: Only the December 6 build cutoff and December 31 shutdown dates are verified directly via the TechCrunch and Moneycontrol citations above. All Rocket export mechanics — including the rocket-update branch, Vite port 4028, allowedHosts entries, @dhiwise/component-tagger, .env / env.json template files and placeholder formats, GitHub sync/ZIP download UI flow, and Flutter export layout — are unverified against a live Rocket export archive; 1904’s importer treats each signal as advisory so normal imports are never blocked.