Create server.ts
import Denoot from "https://deno.land/x/denoot/mod.ts";
const app = Denoot.app(3000);
app.get("/", (req, res) => {
res.send("Hello World!");
});
Then start the server:
deno run --allow-net --unstable server.ts
After starting open localhost:3000
View the full documentation here.