Runable v1.0.0-alpha.20
Why Runable? Docs Modules Work with AI Blog About Changelog
  • 01Why Runable?
  • 02Docs
  • 03Modules
  • 04Work with AI
  • 05Blog
  • 06About
  • 07Changelog
Vue without a fixed server runtime.
Getting Started Structure Integrations Guide MCP API
  • Getting Started Structure Integrations Guide MCP API
  • Express
  • Fastify
  • Hono
  • Koa
  • NestJS
  • AdonisJS
  • h3
  • Bun
  • Deno
  • Custom

Custom adapter

Connect Runable to a Node or Fetch API server without a dedicated adapter.

Create the application once, then pass each frontend request to the primitive that matches your runtime.

Node server

import { createServer } from "node:http";
import { createRunableApp, requestNode } from "runable";

const runableApp = createRunableApp();

createServer(async (req, res) => {
  await requestNode({
    runableApp: await runableApp,
    req,
    res,
  });
}).listen(3000);

Fetch API runtime

import { createRunableApp, requestWeb } from "runable";

const runableApp = createRunableApp();

export async function fetch(request: Request) {
  return requestWeb({
    runableApp: await runableApp,
    req: request,
  });
}

requestNode() writes directly to ServerResponse. requestWeb() returns a Response. In both cases, handle API routes before calling Runable.

Development with a Node server

Official Node adapters run Vite's Connect middleware before requestNode(). If you write a custom Node adapter, reproduce this step so development modules and assets are served correctly.

Report an issue Edit this page
Deno

Use Runable's Fetch API adapter with Deno.serve().

Guide

Build, render, extend, and ship a Runable application.

On this page

  • 1Node server
  • 2Fetch API runtime
Runable

The Vue framework that brings productive conventions to any backend.

Product

  • Why Runable
  • Documentation
  • Installation
  • Integrations

Project

  • About
  • Blog
  • Changelog
  • Sponsor

Community

  • GitHub
  • Issues
  • Discussions
  • Bluesky

© 2026 Runable. Released under the MIT License.

Open source Built with Vue and Runable