deno oak code example
Example: deno router
// server.ts
import * as Denoot from "https://deno.land/x/denoot/mod.ts";
const app = Denoot.app(3000);
app.get("/", (req: Denoot.Request, res: Denoot.Response) => {
res.send("Hello World!");
});
// then run "deno run --allow-net --unstable server.ts"
// read more: https://deno.land/x/denoot