Working with local IDEs

Inspect and run ExaSpark code locally in VS Code or Cursor using the Desktop App or GitHub exports, and execute clean engineering handovers with zero lock-in.

Zero vendor lock-in with standard local tooling

ExaSpark builds standard, human-readable full-stack code — pages, UI components, styles, backend API routes, relational schema files, and a standard package.json. You are never trapped inside closed blocks or proprietary runtimes.

When engineers want full editor ergonomics — jump-to-definition, multi-file search, custom linters, automated tests, or local workflows in VS Code, Cursor, or JetBrains IDEs — two clean paths put the files right on your machine:

  • ExaSpark Desktop App on local project folders. Build in a native macOS or Windows workspace directly on local folders while inspecting the exact same directory in VS Code or Cursor. See Desktop app setup.
  • Exported GitHub repositories. Push a milestone snapshot via the Official GitHub App, clone the private repository locally, and inspect, test, or extend the codebase independently. See Inspect code & GitHub App.

Comparing inspection and local editing options

Pick the right surface for each task so rapid visual iteration and deep engineering checks complement each other cleanly.

Tooling surfaceSource of filesBest suited forPractical boundary
ExaSpark Code tabCloud workspace in Web StudioQuick file reads, route audits, and schema checksZero local install needed
ExaSpark Desktop AppNative macOS/Windows workspace + local folder accessFocused daily building paired with local editor inspectionShares your ExaSpark account, credits, and cloud projects
VS Code / Cursor via GitHub exportCloned Git repository on your laptopFull IDE extensions, static audits, automated tests, external CI/CDExternal GitHub commits do not auto-merge into ExaSpark Cloud

Running an exported project locally

Opening an exported ExaSpark repository in VS Code or Cursor takes minutes once Node.js and Git are installed.

Installing dependencies and configuring `.env.local`

Because ExaSpark omits live runtime secrets from GitHub exports, create an untracked .env.local populated strictly with test-mode credentials before starting your local server:

bash
# 1. Clone your private GitHub repository
git clone git@github.com:your-org/your-app.git
cd your-app

# 2. Open in VS Code or Cursor
code .
# or: cursor .

# 3. Create your untracked local env file with test keys only
cp .env.example .env.local

# 4. Install locked dependencies and verify types + production build
npm ci
npm run typecheck
npm run build
npm run dev

Confirm .env* stays listed in .gitignore before staging commits on any local branch.

High-leverage workflows inside VS Code and Cursor

  • Cross-file RBAC and route audits. Search src/server/ to verify every mutation checks authentication, roles, and user_id ownership.
  • Automated testing and linting. Run strict TypeScript checks, ESLint rules, unit tests, and Playwright smoke tests on pricing calculators and webhook handlers.
  • Deterministic change specs. When continuing to host on ExaSpark Cloud, use your IDE to identify exact file paths and logic bugs, then paste one sharp fix prompt into ExaSpark chat.

Preparing a clean engineering handover

Many founders validate paying customers on ExaSpark, then bring in an internal engineer or agency to scale specialized systems. A thorough handover package cuts onboarding from weeks to one afternoon.

Complete engineering handover checklist

Handover areaWhat to deliverOwner action
Source repositoryPrivate GitHub repo pushed via the Official GitHub App with tagged release (v1.0.0)Grant org team access in GitHub settings
Environment matrixUp-to-date .env.example naming every variable and Preview vs Live notesShare live secrets only via a password manager
Database & schemaSchema definitions in repo plus CSV or backup workflowWalk through Preview vs Live separation in Cloud
Payments & StripeAccess to your own Stripe account (ExaSpark takes 0% fee)Assign Developer/Admin role in Stripe; list active Price IDs
Domains & email DNSRegistrar access and active A, CNAME, SPF, DKIM, DMARC recordsKeep domain ownership under the company registrar
Sign-in & OAuth appsEnabled providers (Google, GitHub, Apple, etc.) and callback URLsMove OAuth clients into a company-owned org

Step-by-step handover playbook

  1. Verify a clean Preview milestone

    Confirm core flows pass, remove abandoned prototype pages, and prompt ExaSpark to generate HANDOVER.md and .env.example.

  2. Export to a company GitHub organization

    Push the clean snapshot via the Official GitHub App into a private org repo rather than a personal account.

  3. Confirm a green build on a clean laptop

    Have the incoming engineer clone the repo, add test values to .env.local, and run npm ci, npm run typecheck, and npm run build.

  4. Agree on ongoing deploy ownership

    Choose explicitly between continuing on ExaSpark Cloud (using Pro's 3 builder seats plus GitHub review exports) or migrating deployment to external CI/CD.

  5. Rotate temporary onboarding credentials

    Revoke contractor-only preview keys after handover and verify GitHub, Stripe, and domain ownership all sit under company control.

Starter prompt · App

Prepare this codebase for engineering handover. Remove unused sample components, confirm .env.example lists every server and public environment variable name with placeholder descriptions (zero real secrets), and generate HANDOVER.md covering folder layout, key API routes, auth roles, database tables, Stripe webhooks, and local build commands.

Coordinating hybrid teams after handover

Handing code to engineers never forces founders out of product momentum. Founders and designers continue polishing pages, onboarding flows, and Creative Studio assets in Web Studio or Desktop App, while engineers audit exported snapshots locally, verify Row-level data privacy, and guide advanced External APIs & webhooks.

Common mistakes and troubleshooting

SymptomRoot causeExact fix
Local dev server crashes on startupMissing .env.local or unset environment variablesCopy .env.example to .env.local and fill in test-mode values
`npm ci` fails with engine errorsLaptop runs an outdated Node.js versionSwitch to the LTS Node release in package.json (nvm/fnm) and re-run npm ci
Cursor edits did not update ExaSpark PreviewCloned GitHub repos stay local rather than updating ExaSpark CloudApply edits inside ExaSpark if publishing on ExaSpark Cloud, or deploy via your own host
Local Stripe webhooks never arriveStripe cannot post to localhost directlyRun Stripe CLI (stripe listen --forward-to localhost:...) with your local test signing secret
Engineer cannot manage Stripe or DNSServices remain on a founder's personal loginAssign scoped team roles in Stripe, GitHub Org, and your registrar

Next steps

Still have a question?Ask our team and other builders on Discord.

From the blog