Picadabra Docs

Introduction

Welcome to Picadabra documentation.

Welcome to Picadabra - a full-stack platform with type-safe APIs.

Key Features

  • Type-safe API: Full TypeScript support with inferred types
  • Single API access: All endpoints through one unified client
  • Contract-first: Contracts shared between client and server
  • Background tasks: Queue-based task processing with real-time updates
  • File storage: Secure file uploads with presigned URLs
  • Streaming: SSE-based streaming with TanStack Query integration

Quick Start

npm install @picadabra/client
import {  } from "@picadabra/client";

const  = ({
  : "https://api.picadabra.example.com",
  : async () => "your-auth-token",
});

// Get current user
const  = await ..();

// Submit background task
const {  } = await ..({
  : "process",
  : { : "hello" },
});

// Upload file
const  = new (["content"], "test.txt");
const  = await ..({  });

How is this guide?