this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at feat/docker-deployment 20 lines 493 B view raw
1import { Hono } from "hono"; 2import { characters } from "./routes/characters"; 3import { chats } from "./routes/chats"; 4import { models } from "./routes/models"; 5 6const api = new Hono() 7 .route("/characters", characters) 8 .route("/models", models) 9 .route("/chats", chats); 10 11export const app = new Hono().route("/api", api); 12 13export type AppType = typeof app; 14 15const server = Bun.serve({ 16 fetch: (request) => app.fetch(request), 17 port: 3001, 18}); 19 20console.log(`API listening on ${server.url}`);