Skip to main content
Module

x/fastro/benchmarks/oak.ts

Fast and simple web application framework for deno
Go to Latest
File
import { Application } from "https://deno.land/x/oak@v4.0.0/mod.ts";
const app = new Application();const port = 3003;
app.use((ctx) => { ctx.response.body = "Hello!";});
console.log("oak listening on:", port);await app.listen({ port });