UNPKG

create-cf-planetscale-app

Version:

Create a Cloudflare workers app for building production ready RESTful APIs using Hono

16 lines (13 loc) 282 B
import { route as authRoute } from './auth.route' import { route as userRoute } from './user.route' const base_path = 'v1' export const defaultRoutes = [ { path: `/${base_path}/auth`, route: authRoute }, { path: `/${base_path}/users`, route: userRoute } ]