Skip to main content

Deploy

First create file my_app.ts and copy in the code from the example above.

import nhttp from "https://deno.land/x/nhttp@1.3.26/mod.ts";

const app = nhttp();

app.get("/", () => {
return "Hello, Deploy";
});

app.listen(8080);

More docs => https://deno.com/deploy/docs