Fastro
BlogDocsSign in

Routing


import fastro from "https://fastro.deno.dev/mod.ts";

const f = new fastro();

f.get("/", () => ({ text: "Hello get" }));
f.post("/", () => ({ text: "Hello post" }));
f.put("/", () => ({ text: "Hello put" }));
f.delete("/", () => ({ text: "Hello delete" }));

await f.serve();
Made with ♡ in Tulungagung