ajo

02 / The framework

Ajo Kit

Routes, data and server rendering, designed to work together.

Take an Ajo interface all the way to an application. File-based routes connect pages to server loaders, form actions, SQLite migrations and live updates. Vite handles local development; Kit prepares the production artifact.

An example
// src/hello/handler.ts
export function page() {
  return { greeting: 'Hello from the server.' }
}

// src/hello/page.tsx
import type { PageArgs } from 'ajo-kit'

export default ({ data }: PageArgs<{ greeting: string }>) => (
  <h1>{data?.greeting}</h1>
)
01

File-based pages, layouts and server handlers

02

SQLite, Kysely and transactional migrations

03

Topic-based SSE updates and route freshness

Part of the whole

Kit stages a closed module graph. Ajo Engine’s compiler turns it into the artifact your server runs.

Explore the platform