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
- Host: GitHub
- URL: https://github.com/deno-mage/app
- Owner: deno-mage
- License: mit
- Created: 2024-11-13T09:45:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-15T12:00:42.000Z (2 months ago)
- Last Synced: 2025-02-15T12:29:22.702Z (2 months ago)
- Topics: api, deno, jsr, preact, typescript, web
- Language: TypeScript
- Homepage: https://deno-mage.com
- Size: 476 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Security: security-headers/middleware.ts
Awesome Lists containing this project
README
![]()
Mage
## 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
```