import { Hono } from 'hono'
import { sign, verify } from 'hono/jwt'
import { getPrisma } from '../prismaFunction'
// Create the main Hono app
const app = new Hono()
app.get('/', (c) => {
// Now you can use it wherever you want
try {
return c.text("hello world")
} catch (error) {
console.log(error)
}
})
import { Hono } from 'hono'
import { sign, verify } from 'hono/jwt'
import { getPrisma } from '../prismaFunction'
// Create the main Hono app
const app = new Hono()
app.get('/', (c) => {
// Now you can use it wherever you want
try {
return c.text("hello world")
} catch (error) {
console.log(error)
}
})