Skip to main content
Module

x/fastro/examples/ctx_json.ts

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
File
import fastro, { Context, HttpRequest } from "$fastro/mod.ts";
const f = new fastro();
f.get( "/", (_req: HttpRequest, ctx: Context) => { return ctx.send({ value: true }, 200); },);
await f.serve();