UNPKG

create-glxcier-app

Version:

Project setup wizard for Glxcier template

18 lines (12 loc) 323 B
import { Hono } from 'hono' import healthRouter from './routes/health.router' import { cors } from 'hono/cors' import { logger } from 'hono/logger' const app = new Hono() app.use(cors()); app.use(logger()); app.get('/', (c) => { return c.text('Hello Hono!') }) app.route("/api/v1", healthRouter); export default app