Before you start
- Node.js 20.19 or later.
- macOS on Apple silicon, or Linux (x64 or arm64), for the Xano Engine.
On Windows or an Intel Mac? There is no Xano Engine build for your machine yet. Wherever this
page says
npm run xano:deploy, run npm run xano:deploy:ephemeral instead: it deploys the same
code to an ephemeral in Xano’s cloud. That needs a Xano account, so sign in first
(Connect to Xano). See
where the Engine differs today.Run it
1
Scaffold the project
init writes a TypeScript backend under xano/, a React frontend under frontend/, and
the xano:* scripts, then runs npm install. For Svelte pass --framework svelte; for a
backend with no frontend, --framework none. In a terminal it asks which one, and Enter
takes React.2
Deploy the backend to the Xano Engine
- macOS (Apple silicon) and Linux
- Windows and Intel Mac
xano/ and deploys it to the Xano Engine on your machine. The first
run downloads the Engine for your platform and pins its version in package.json.
Later runs start in seconds and work offline..env.local as VITE_XANO_HOST.3
Start the frontend
VITE_XANO_HOST from .env.local, so the frontend calls the backend you just
deployed. Open the URL Vite prints.4
Open the builder
Open the Open the builder link from the deploy output. It signs you in to the Xano
editor running on the Engine, where you can browse your tables and see what your
TypeScript compiled to.
Change something
Edit a file underxano/, then run npm run xano:deploy again. Each redeploy to the Engine
keeps the rows already in your tables (the script passes --keep-data). Keep npm run dev
running. npm run xano:deploy -- --reset gives you a clean, re-seeded backend.
Next
- What you built: the files
initwrote, which ones to commit, and which script deploys where. - Your first change: add a table and an endpoint, and call it from the frontend.
- Connect to Xano: create a free account and deploy the same code to Xano’s cloud.