Getting Started

Build, deploy, and call your first worker.

  • Installation

    Scaffold a Base workspace, start the development server, and see your worker respond.

  • Your First Worker

    Understand the three files that make a Base worker, then build a typed, validated JSON API.

  • Add a Database

    Define an entity with decorators, generate migrations, and persist your notes in Cloudflare D1.

  • Add GraphQL

    Expose your notes over GraphQL with a typed resolver, then query them in GraphiQL.

  • Deploy to Cloudflare

    Create your production D1 database, release your migrations, and ship your worker to the edge.

  • Call Your Worker with RPC

    Expose the notes service as typed procedures and call them like local methods, the way Base apps talk to their workers.