import { serve } from "@hono/node-server"; import { Hono } from "hono"; import { createClient } from "@libsql/client"; import { drizzle } from "drizzle-orm/libsql"; import { groupsTable } from "./db/schema.js"; const app = new Hono(); const db = drizzle(createClient({ url: "file:data.db" })); async function Groups() { const result = await db.select().from(groupsTable).all(); return ; } app.get("/", c => c.html( Uneven )); let colors = ["red", "green", "blue"]; app.get("/button", c => c.html( )); serve({ fetch: app.fetch, port: 3000, }, info => console.log(`Server is running on http://localhost:${info.port}`));