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
      .output.apptsconfig.app.jsonapppageslayoutscomponentscomposablesglobalspluginsmiddlewarescssapp.vueerror.vuemodulesnode_modulespublic.env.gitignorerunable.config.tsserver.tspackage.jsontsconfig.jsontsconfig.node.json

server.ts

Start your backend and mount the Runable adapter as the last middleware.

server.ts is your backend entry point. It configures the HTTP server, API routes, and Runable adapter.

// server.ts
import Express from "express";
import { express } from "runable/adapters/express";

const server = Express();

server.get("/api/health", (_req, res) => {
  res.json({ status: "ok" });
});

server.use(express());

server.listen(3000, () => {
  console.log("http://localhost:3000");
});

Place API routes and application middleware before the adapter. Runable then receives only requests that have not already produced a response.

The server.ts name is a project convention, not a framework requirement. You can split the backend across files or use the entry point required by NestJS, AdonisJS, Bun, or Deno.

The adapter initializes the Runable instance once, connects Vite in development, and uses the .output/ build in production.

Report an issue Edit this page
runable.config.ts

Configure conventions, SSR, modules, and Vite from the project's central file.

package.json

Declare scripts, dependencies, and runtime constraints for a Runable project.

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