Build web applications with Deno
Mage is a web application framework for Deno. It is designed to be familiar and easy to use. It is built on top of Deno's built-in HTTP server and provides a simple API for building web applications and APIs.
deno add jsr:@mage/app
An example app:
import { MageApp } from "@mage/app";
const app = new MageApp();
app.get("/", async (c) => {
c.text("Hello, world!");
});
Deno.serve(app.handler);
Run the app:
deno run --allow-all main.ts