mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
bebf9e0411
* update bun version * fix module manager's em reference * add basic deno example * finalize
15 lines
335 B
TypeScript
15 lines
335 B
TypeScript
import { createRuntimeApp } from "bknd/adapter";
|
|
|
|
const app = await createRuntimeApp({
|
|
connection: {
|
|
url: "file:./data.db",
|
|
},
|
|
adminOptions: {
|
|
// currently needs a hosted version of the static assets
|
|
assetsPath: "https://cdn.bknd.io/bknd/static/0.15.0-rc.9/",
|
|
},
|
|
});
|
|
|
|
// @ts-ignore
|
|
Deno.serve(app.fetch);
|