
await on io asks a person in the browser and waits for the answer.
There is no frontend to build. The same Node process serves the UI, so there is nothing else to host.
What you write
actions/accounts/createAccountAction.ts
What people see
The form shows whatio.group asked for. It is the same action in the demo, whose db stands in for your Prisma client:


Bring your codebase
A handler is a plain async function that runs in your own Node process, so everything your app already has works inside it. Bring along:- your database: the Prisma client, the ORM or the queries you already use;
- your business logic: the services and rules your product runs on, without copying them;
- logic shared with your API or GraphQL: the same functions your resolvers and endpoints call;
- your internal tools: scripts, utilities, environment variables and any npm package.
io to ask a person and ctx to know who it is.
actions/refundOrderAction.ts
await io calls it is just your code.
