To install dependencies:
bun install
To run:
bun run dev
// Add Validation
route.post("/", zValidator("json", userSchema, handleApiError), createUser);
// File upload route
route.post("/upload", async (c) => {
const body = await c.req.parseBody();
console.log(body.file); // File | string body['file']
});