Skip to content

aklinker1/zeta

Repository files navigation

Zeta

JSR NPM Version Docs API Reference License Changelog

Composable, fast, testable, OpenAPI-first backend framework with validation built-in.

// main.ts
import { createApp } from "@aklinker1/zeta";
import { zodSchemaAdapter } from "@aklinker1/zeta/adapters/zod-schema-adapter";
import { z } from "zod";

const app = createApp({
  schemaAdapter: zodSchemaAdapter,
}).get(
  "/hello",
  {
    operationId: "sayHello",
    summary: "Say Hello",
    description: "A simple hello world example",
    response: z.object({ message: z.string() }),
  },
  () => ({ message: "Hello world!" }),
);

app.listen(3000);
bun run main.ts
deno run --allow-net main.ts

Features

  • Standard schema support (Zod, Arktype, Valibot, etc)
  • 🧩 Composable apps, plugins, and routes
  • 🤖 Type-safe server and client side code
  • ❄️ WinterCG compatible
  • 🧪 Easy to test
  • 📄 OpenAPI docs built-in

Docs

Visit https://zeta.aklinker1.io for the full documentation.

About

Composable, testable, OpenAPI-first backend framework with validation built-in

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors