Quickstart
Create a project, start the local runtime and call your first function.
Create a project
npx create-baclet@latest my-app
cd my-appStart the local runtime
baclet devDefine a function
import { defineFunction } from "baclet";
export default defineFunction({
name: "hello",
async handler() {
return { message: "Hello from BACLET" };
},
});