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 surface | Source of files | Best suited for | Practical boundary |
|---|---|---|---|
| ExaSpark Code tab | Cloud workspace in Web Studio | Quick file reads, route audits, and schema checks | Zero local install needed |
| ExaSpark Desktop App | Native macOS/Windows workspace + local folder access | Focused daily building paired with local editor inspection | Shares your ExaSpark account, credits, and cloud projects |
| VS Code / Cursor via GitHub export | Cloned Git repository on your laptop | Full IDE extensions, static audits, automated tests, external CI/CD | External 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:
# 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 devConfirm .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, anduser_idownership. - 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 area | What to deliver | Owner action |
|---|---|---|
| Source repository | Private GitHub repo pushed via the Official GitHub App with tagged release (v1.0.0) | Grant org team access in GitHub settings |
| Environment matrix | Up-to-date .env.example naming every variable and Preview vs Live notes | Share live secrets only via a password manager |
| Database & schema | Schema definitions in repo plus CSV or backup workflow | Walk through Preview vs Live separation in Cloud |
| Payments & Stripe | Access to your own Stripe account (ExaSpark takes 0% fee) | Assign Developer/Admin role in Stripe; list active Price IDs |
| Domains & email DNS | Registrar access and active A, CNAME, SPF, DKIM, DMARC records | Keep domain ownership under the company registrar |
| Sign-in & OAuth apps | Enabled providers (Google, GitHub, Apple, etc.) and callback URLs | Move OAuth clients into a company-owned org |
Step-by-step handover playbook
Verify a clean Preview milestone
Confirm core flows pass, remove abandoned prototype pages, and prompt ExaSpark to generate
HANDOVER.mdand.env.example.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.
Confirm a green build on a clean laptop
Have the incoming engineer clone the repo, add test values to
.env.local, and runnpm ci,npm run typecheck, andnpm run build.Agree on ongoing deploy ownership
Choose explicitly between continuing on ExaSpark Cloud (using Pro's
3builder seats plus GitHub review exports) or migrating deployment to external CI/CD.Rotate temporary onboarding credentials
Revoke contractor-only preview keys after handover and verify GitHub, Stripe, and domain ownership all sit under company control.
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
| Symptom | Root cause | Exact fix |
|---|---|---|
| Local dev server crashes on startup | Missing .env.local or unset environment variables | Copy .env.example to .env.local and fill in test-mode values |
| `npm ci` fails with engine errors | Laptop runs an outdated Node.js version | Switch to the LTS Node release in package.json (nvm/fnm) and re-run npm ci |
| Cursor edits did not update ExaSpark Preview | Cloned GitHub repos stay local rather than updating ExaSpark Cloud | Apply edits inside ExaSpark if publishing on ExaSpark Cloud, or deploy via your own host |
| Local Stripe webhooks never arrive | Stripe cannot post to localhost directly | Run Stripe CLI (stripe listen --forward-to localhost:...) with your local test signing secret |
| Engineer cannot manage Stripe or DNS | Services remain on a founder's personal login | Assign scoped team roles in Stripe, GitHub Org, and your registrar |