A Bolt project can move into a local Git workflow, but code export does not automatically migrate the services it uses. First identify the frontend, server, database, auth and storage arrangement, then reproduce the app outside the builder.
Git integration documentation reviewed November 7, 2026. The steps below are a migration checklist to adapt to your project, not a measured migration-time claim.
Export through a reviewed repository
Use Bolt's supported GitHub integration to connect and synchronize the intended project. Review the repository and commit before cloning it. Keep secrets out of tracked files and preserve a known good source version.
Inspect the actual manifest, lockfile and runtime requirement. Bolt projects can differ; do not assume every export is a Vite frontend with data only in localStorage. Inventory any Bolt Cloud or external backend independently of the source code.
Reproduce the local environment
Run the project's documented install and start commands. With an npm lockfile, a clean install normally uses npm ci. Use the runtime recorded by the project rather than upgrading dependencies during the move without a reason.
Check the production build too. If a package is missing, inspect the import and manifest before installing it. If a path fails on another machine, compare its exact case with the filename. The common errors guide gives targeted checks.
Separate public settings from secrets
Vite's VITE_ variables are exposed to browser code. Use that mechanism only for deliberately public settings. Never rename a secret API key to VITE_API_KEY to make it available in the frontend. Put privileged requests behind the existing supported server boundary.
A Supabase browser client can use a publishable key with a normal user session and appropriate permissions. A service-role key belongs on the server. Use the Supabase tutorial and its RLS tests before trusting private-data access.
Inventory the backend move
Record the source and destination for tables, users, storage, functions, schedules and external callbacks. If you keep an external backend, verify allowed origins and auth redirects for the local and new hosted app. If you replace a backend, rehearse import and recovery with a copy first.
Replacing localStorage calls with database calls is not the whole migration. Decide ownership, validation, concurrent updates and what happens when the network fails. Test the same behavior before and after the change.
Verify and deploy the reviewed version
Test a narrow and wide screen, direct nested routes, signed-out access, two-user isolation, failed requests and duplicate submissions. Check the stored results, not only the UI labels. Record any flow you cannot reproduce.
Use the first deployment walkthrough for a preview and the deployment checklist before changing production. Keep a known good source version and a plan for writes made during cutover. Local development gives you another workflow; it does not remove hosting, backend or coding-tool costs.