Skip to content
Documentation menu

Quickstart

Create a project, start the local runtime and call your first function.

Create a project

terminal
npx create-baclet@latest my-app
cd my-app

Start the local runtime

terminal
baclet dev

Define a function

backend/functions/hello.ts
import { defineFunction } from "baclet";

export default defineFunction({
  name: "hello",
  async handler() {
    return { message: "Hello from BACLET" };
  },
});