Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/full-stack-safety. A demo app that has fully type safe handling between FE and BE
Something went wrong. Try again.
123456789101112import { Hono } from 'hono'import { personHobbiesApp } from './routes/person__[person_id]__hobbies/person__[person_id]__hobbies.app.ts'import { cors } from 'hono/cors'
const app = new Hono()
app.use('*', cors())
app.route('/:person_id/hobbies', personHobbiesApp)
export { app }