diff --git a/bun.lockb b/bun.lockb index 0a8ca11..2f5f0fb 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/handlers/auth.tsx b/src/controllers/auth.tsx similarity index 100% rename from src/handlers/auth.tsx rename to src/controllers/auth.tsx diff --git a/src/handlers/index.ts b/src/controllers/index.ts similarity index 54% rename from src/handlers/index.ts rename to src/controllers/index.ts index f12a96c..3a0afe5 100644 --- a/src/handlers/index.ts +++ b/src/controllers/index.ts @@ -1,7 +1,7 @@ import Elysia from "elysia"; -import { todosService } from "./todos"; +import { todosService as todosController } from "./todos"; export const api = new Elysia({ name: "@app/api", prefix: "/api", -}).use(todosService); +}).use(todosController); diff --git a/src/handlers/todos.tsx b/src/controllers/todos.tsx similarity index 100% rename from src/handlers/todos.tsx rename to src/controllers/todos.tsx