Video chapters
- 0:00 The finished app and the missing piece
- 0:53 Three places and two kinds of sign-in
- 1:29 Open Vibe Studio and import the starter
- 3:34 Set up services, booking rules and the intake form
- 6:32 Find each call in the AppEngine API reference
- 8:08 Connect the starter to AppEngine
- 10:52 Build the preview and book a real appointment
- 12:37 Ask Vibe to show the saved answers
- 14:12 Go live, then export and rebuild
Written guide
Course status: revision required after owner review. View the rejected cut and revision status. The actual Vibe Studio AI refinement was saved, reviewed, built and checked on SpinForge preview, then promoted and checked on the live address. Normal customer sign-in, saved-answer readback and reload passed. The actual post-refinement Studio ZIP passed independent clean reconstruction. The guide also explains how to run the export on another Node host; no separate external-provider deployment was performed. The encoded video passed technical audiovisual checks, but owner review found the teaching sequence confusing and incomplete.
Use Vibe Studio to describe an app, inspect and change its source, connect it to AppEngine, build a preview and refine the result. Then choose how to run it: publish a checked build through SpinForge, or download the complete saved project for another Node host. The completed checks cover SpinForge publishing and the actual source download/rebuild. Another host's requirements are explained separately from those demonstrated outcomes. A small booking interface is the worked example; the reusable skill is the creation and deployment workflow.
The completed booking companion, pinned to f63ddb1 includes the actual Vibe-generated Your project refinement and the public-origin gateway fix. The demonstrated starting app already contained its interface, customer authentication, API adapter and Node gateway. Vibe generated the scoped saved-answer refinement; importing the starting app is not evidence of generating that entire application from scratch.
To repeat the same before-and-after exercise, start from the pre-feature baseline b2c9788. The completed source above already includes the feature. The release-two guide explains baseline selection and reproduction; preserve existing work before switching revisions.
Get into Vibe Studio
You need an Appmint organization, a builder account with permission and an available environment slot, and a working AI-provider connection for the authoring steps. Customer accounts used by the resulting app are separate from the builder account.
For a new organization, begin at Appmint signup. The welcome page offers Open Studio Manager and Building pages or apps? Open Vibe Studio. Check whether an appropriate environment already exists before creating another.
To enter through the management application:
- Sign in normally to Studio Manager and select the intended organization.
- Open DAM → Site & Dev Environments.
- Select the existing environment, or choose New Dev Env, enter Environment Name and optional title/description, then choose Create Environment.
- On its card, choose Open Vibe Studio. This performs the normal sign-in handoff and opens the selected project. You do not copy a bearer token.
You can also open Vibe Studio directly: Email → Continue with Password → Password → Sign In, completing verification if required. An account with one organization may have it selected automatically, as in the current recording. If Site Name is requested, enter the organization/workspace identifier. The signed-in home lists Dev Environments; open the intended one.
From Vibe's home, Build opens Create New Project. Choose App, supply Dev Environment Name and a useful description, then Create Dev Environment. App is a project category, not a Node/React framework selector. Inspect the initial files: a new App without a description currently starts with HTML scaffolding, while a description follows the AI-oriented creation path. Do not assume a Node gateway already exists.
Describe a real task and inspect its output
Begin by identifying what the current project already implements. In the demonstrated workflow, inspect the existing companion, connect its public AppEngine configuration, establish a working build, then request the scoped Your project refinement below. The new AI changes are in App.jsx and styles.css.
For an optional from-scratch exercise, this broader brief defines the application requirements. A complete new-app generation from this brief is not the course's verified outcome:
Create a small customer booking app in this project using our AppEngine organization. Customers should sign in normally, choose a service and available time, complete the definition's intake form, save a booking and reopen their own booking. Use a Node 20+ server for the built interface and a limited same-origin API gateway. Read the public backend address, organization ID and reservation definition ID from configuration. Use real definitions, slots and schema; don't invent availability or confirmation. Keep credentials out of source, listen on the host's PORT, and show the changed files before deploying. Use the AppEngine reference for contracts. You may reuse declared helpers from the companion, but generate the application and its source changes from this brief. Do not clone or copy the completed app wholesale. Identify every reused helper.
Supply your own public backend coordinates and the relevant AppEngine API reference. Follow the actual task result, then open the changed files. Check what was generated, what was reused and what remains incomplete. A confident response or an attractive screen is not proof that the integration runs.
The recorded refinement completed through Vibe's AI workflow. Inspect its saved source rather than relying only on the chat response: verify the changed files, build result and behavior on the same saved appointment. Keep any manual configuration or corrective edits distinct from the AI-generated change.
Connect the source to AppEngine
Use Code and the file tree to inspect the generated configuration, frontend adapter and server. To add a file, use Add file or folder → Create new file. Save with Save or Cmd/Ctrl+S, then reopen the file to check what persisted. Saving is not publishing.
There is no universal Connect AppEngine wizard in this workflow. Show the actual configuration read and request code. The completed reference uses config.json beside server.mjs:
{
"baseUrl": "https://appengine.appmint.io",
"orgId": "YOUR_ORGANIZATION_ID",
"definitionId": "YOUR_RESERVATION_DEFINITION_ID",
"publicOrigins": []
}A private installation has its own AppEngine address. These values are public coordinates, not passwords or access tokens. The reference also accepts APPENGINE_BASE_URL, APPENGINE_ORG_ID and APPENGINE_DEFINITION_ID. If Vibe generates another valid file layout, inspect its equivalent configuration rather than adding an unused file from this example.
When a hosting proxy rewrites Host, the updated companion gateway also needs the exact browser-facing HTTPS origins in config.json, for example "publicOrigins": ["https://preview.example.com", "https://appointments.example.com"]. Replace those examples with your actual preview/live origins: scheme and hostname, plus a non-default port when needed, with no trailing slash, path, query, credentials or wildcard. Alternatively, set APP_PUBLIC_ORIGINS to a comma-separated list; it overrides the file, and an empty value disables additional origins. The default empty list keeps the same-host check. Unknown origins remain rejected; forwarded headers do not grant access.
This option is implemented in the pinned companion gateway. Configure the public app addresses, not the upstream AppEngine URL. Saving this configuration in Studio and building it restored normal customer sign-in on the verified preview and production addresses.
For this booking example, use the exact AppEngine setup recipe. Create the intake collection first, save the booking type, reopen its pencil Edit control, then use All settings to attach the form and configure services. All settings is available after the initial save. The recipe supplies the supported schema, durations, hours, timezone and capacity.
To obtain the definition ID, open CRM → Reservations → Booking types → your definition → pencil Edit. Copy only the value of openDefinition from the browser address bar into definitionId. For example, ...?openDefinition=YOUR_DEFINITION_ID supplies YOUR_DEFINITION_ID. Use your own record, not its title, a service name or the whole URL. Return to Vibe and save that value in the configuration the server actually reads.
For account and organization setup, use AppEngine API Foundations and Authentication and organization isolation. Configure the intended email/SMS policy before exercise signup or booking: those actions can request messages, and empty notification arrays do not reliably disable delivery.
Review the consequential implementation choices
Inspect the saved source in the editor before building. For the reference app, appengine-api.ts adapts frontend actions and server.mjs forwards a limited set of same-origin operations. The server fixes the AppEngine origin, organization and definition. Customer-owned operations use the customer's session, not a staff password in the bundle.
Trace one useful sequence through that code:
| Customer action | AppEngine choice to inspect |
|---|---|
| Sign in | Customer sign-in and challenge/session handling, separate from the Studio builder session |
| Load services | The selected reservation definition and its configured services |
| Choose a date | Slots use serviceName and the business-calendar serviceDate; the gateway supplies the fixed definition ID |
| Show questions | Resolve the collection attached to the definition, then render its supported schema |
| Confirm | Send service, the selected slot's returned startTime/endTime, and typed answers under form |
| Reopen the result | Read the authenticated customer's saved reservation and display its actual status/reference |
These distinctions matter more than copying a full response example. Availability uses serviceName; creation uses service. Preserve returned times and the business timezone. If generated code hard-codes services, invents slots or skips the configured form, request a scoped correction and inspect the resulting diff. A small manual correction is also legitimate when shown honestly.
The completed reference keeps its customer session in browser sessionStorage, scoped to organization/definition, with refresh handling. A newly generated implementation may differ; check its actual session boundary. The reference avoids automatically repeating an uncertain booking write. Check the saved record before submitting again if a response is lost.
Build, check and refine in Vibe
Save your changes, then open Manage project → Build. Follow the job in Builds, inspect its logs/result and open the successful row's Open link. Check that the returned preview actually runs the version you just built.
For a Node project, the built-in Preview uses SpinForge. It can show the last retained build, and Save/Reload does not force a fresh build. Use an explicit Build after a meaningful source change and verify the changed behavior. Static HTML preview is a different path. When the Preview pane offers Select/Browse, use Browse to exercise the app normally.
In the running result, check real services, sign in with a customer account, choose returned availability, complete the configured form and save one exercise booking. Reopen that record to establish persistence. This short check tests the current source; it is not a separate app tour.
Then return to Vibe and request a useful refinement:
Show the customer's saved intake answers in a Your project section on appointment detail. Use the configured field titles, display booleans readably, and handle missing answers, loading and errors. Keep the existing booking reference, status, time and reschedule controls. Reuse the existing API and show the changed files before deployment.
Inspect the real changes and save/read back the affected files. The implemented ProjectAnswers component reads booking.answers, normalized from the saved reservation's data.form. Its schema request uses the existing api.intakeSchema(serviceId) path; the hook stays before the detail component's early return. Question titles come from the current configured schema. Booleans display Yes/No, zero stays visible, and failed schema reads retain saved values with retry/sign-in handling. Existing booking and reschedule controls remain in place.
Build again and reopen the same booking in the new preview. This was verified for WQX1RRBS: its saved project type, brief and consent appeared under the actual configured question titles, while its confirmed status, October 30 time and reference stayed intact. Independent 390px mobile inspection found no horizontal overflow. The same feature build subsequently passed sign-in, answer readback and reload on the promoted live address.
The implemented refinement guide supplies the actual snippets, exact baseline patch and measured validation. Current source already includes the change; do not apply the patch again. Use an isolated earlier baseline only to repeat the before/after exercise. Error, empty, zero and false branches were independently documented; the reported hosted acceptance used the real saved example rather than injected failure cases.
Choice A: publish through SpinForge
Before building behind a proxy that rewrites Host, save the actual preview and production origins in publicOrigins (or configure APP_PUBLIC_ORIGINS on the host). Build and test ordinary browser customer sign-in: a services GET returning 200 does not exercise the write-origin check.
Use a successful preview build whose behavior you checked. In Builds, select its Promote action, or open Go live / Update live, choose the retained build and confirm Go live / Update live deployment.
Wait for the actual deployment and open its production address separately. A Live at… message can appear while deployment is queued. Verify the assets, AppEngine connection, normal customer sign-in and an existing saved record on the public address. Preview and production are separate browser origins, so another sign-in may be needed.
The corrected baseline first passed customer sign-in and saved-booking reload on preview and production. After the AI refinement, a new managed build passed the same checks with Your project visible. That checked feature build was promoted, and a separate normal customer sign-in, saved-answer readback and reload passed on the live address. These results establish the saved AI change → fresh build → preview → promoted public result sequence. The published companion contains that actual implementation.
The selected build is deployed; promotion does not rebuild unsaved/current source. For another change, return to the editor, save, build a new preview, check it and promote that build. Preview and live can use the same AppEngine records: preview is not automatically a business-data sandbox, and rolling back application code does not undo bookings.
For Node/container deployment, inspect the project's legitimate runtime metadata and scripts. The managed route reads framework from .vibe/project.json; an AppMint label alone is insufficient. Do not assume App means Node or invent an unavailable framework/root-directory setting in Manage project.
If using the completed companion inside the whole examples repository, its app root is appengine-vibe-booking. The documented workspace-root wrapper selects that nested app:
{
"private": true,
"engines": { "node": ">=20" },
"scripts": {
"build": "npm ci --prefix appengine-vibe-booking --include=dev && npm run build --prefix appengine-vibe-booking",
"start": "npm start --prefix appengine-vibe-booking"
}
}Use the generated project's actual layout and scripts if they differ. The app needs its Node gateway as well as its compiled frontend; a static-only target is insufficient for this reference.
Choice B: download the project and host it elsewhere
Save and reopen the files you want to export. In Vibe's header choose Download, leave Include .git history off unless needed, then choose Download .zip. Wait for the browser download to finish, then inspect the actual saved archive. Use this actual Studio archive so it contains the saved work you just checked; a GitHub ZIP is not a substitute for those changes.
Inspect the archive before using it. It should retain the relative source paths, package manifest/lockfile, Node server, public images/fonts and intended configuration. The download includes dotfiles and does not apply .gitignore; ignored configuration can be present. Root-level dependency exclusions do not guarantee nested dependencies are absent. Keep credentials out of source and inspect what you distribute. Builds → Artifact is a different operation and is not established as a portable complete-source ZIP.
Extract into a clean directory. Use the actual app root. For a Studio workspace containing the entire completed examples repository:
unzip studio-workspace.zip 'appengine-vibe-booking/*' -x 'appengine-vibe-booking/node_modules/*' 'appengine-vibe-booking/web/dist/*' -d exported-project
cd exported-project/appengine-vibe-booking
node --version
npm ci --include=dev
npm run check
npm run build
PORT=3000 npm startHere studio-workspace.zip stands for your downloaded filename. The selected extraction preserves the companion's source/config/public assets and omits bundled dependencies and generated frontend output so the rebuild is independent. Adjust the selected path if your project has a different root. Inspect the exported config.json; if absent, create it from config.example.json with your public coordinates. Node must satisfy the project's 20-or-newer requirement. Including development dependencies supplies the frontend build tools even when the host uses production mode.
The actual post-AI Studio download passed this clean reconstruction. Its saved JSX/CSS match the reviewed Vibe output and the published companion; its server retains the verified public-origin correction. Installation, typecheck and build passed, and the independently started local Node service loaded real AppEngine services plus hash-matching images/fonts. The source, public config and assets were unchanged by rebuilding. This establishes portable source and a working local runtime. It does not establish a deployment on another public provider; to do that, choose a service that runs a persistent Node process and configure:
| Host setting | Reference application requirement |
|---|---|
| Application root | Extracted appengine-vibe-booking, or the generated app's actual root |
| Build | npm ci --include=dev && npm run build |
| Start | npm start |
| Runtime | Node 20+; persistent process |
| Network binding | 0.0.0.0 on the platform-provided PORT |
| AppEngine coordinates | The three documented environment variables, or intended config.json beside the server |
| Public entry | HTTPS; preserve public Host, or configure the exact public HTTPS origin with the updated gateway |
| Upstream access | Outbound HTTPS to the selected AppEngine installation |
Keep server.mjs, package files and built web/dist together at runtime, and retain source/public binary assets for rebuilding. Hosting only web/dist loses the same-origin API gateway. Export does not copy AppEngine accounts, configuration or bookings; the app still connects to the backend you selected.
Open the external host's public address. Verify images/fonts, real services, normal customer sign-in and the same saved record after reload. A /healthz response proves only that the process listens. No separate external provider was deployed in the completed checks. The verified public deployment is SpinForge; the verified alternative is the actual source download and independent rebuild. Follow your chosen host's own deployment controls and verify its public result before treating that additional deployment as complete.
Reference configuration and saved-result evidence
These images show the existing example's real AppEngine configuration and saved record. They support the connection checks above. Managed preview/live and export acceptance are recorded separately in the published refinement validation. The setup recipe distinguishes inspected existing configuration from a fresh-organization creation exercise.
Existing saved definition in All settings. Use the setup recipe to create your own configuration.
The configured collection supplies the questions the client renders.
Staff readback of WQX1RRBS, including the new time and saved answers. The later managed preview and live checks reopened this same record and displayed its answers in the AI-generated Your project section.
Keep the Vibe Studio documentation, customer authentication guide, CRM reference, customer-owned data guide and maintained API reference beside the project. The AI refinement, SpinForge preview/live checks and actual exported-source rebuild are verified. A separate external-host deployment and rollback are outside that measured scope. The replacement video requires an instructional rewrite; technical audiovisual checks did not establish learner comprehension.