An open API service indexing awesome lists of open source software.

https://github.com/deno-mage/app

Build web applications with Deno
https://github.com/deno-mage/app

api deno jsr preact typescript web

Last synced: 2 months ago
JSON representation

Build web applications with Deno

Awesome Lists containing this project

README

        


Emotion logo

Mage


Build web applications with Deno

## Mage

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.

### Getting started

```sh
deno add jsr:@mage/app
```

An example app:

```tsx
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
```