a LOTTTA more migration hoopla shii
This commit is contained in:
18
apps/processor/src/index.ts
Normal file
18
apps/processor/src/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { serve } from "@hono/node-server";
|
||||
import { Hono } from "hono";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.get("/", (c) => {
|
||||
return c.text("Hello Hono!");
|
||||
});
|
||||
|
||||
serve(
|
||||
{
|
||||
fetch: app.fetch,
|
||||
port: 3000,
|
||||
},
|
||||
(info) => {
|
||||
console.log(`Server is running on http://localhost:${info.port}`);
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user