Skip to content

AXTON

AXTON is a schema-driven framework for building local-first apps with your own backend.

Define Models, Mutations and Queries once. AXTON generates typed client calls and backend interfaces, keeps local state in SQLite, and synchronizes through your handlers and Loaders.

  • Schema-driven. Describe local Models and backend Mutations and Queries in one contract.
  • Typed end to end. Generate client APIs and backend read/write interfaces together.
  • Works offline. Read and write locally; pending changes persist until they can sync.
  • Your backend. Keep your business logic and database. No vendor cloud service required.

Start here

Run the getting-started tutorial to run the collaborative To-do example on two simulators, work offline and see your backend accept or reject a Mutation.

What you need Read
Define Models, Mutations and Queries Schema guide
Use the client Client setup
Implement handlers and loaders Backend guide
Understand local state and sync Concepts
Look up a method, type or option API reference
Handle offline work and failures Sync and recovery

Supported integrations

Layer Available integration
Client TypeScript · Flutter
Backend TypeScript
Backend database PostgreSQL through pg, Prisma or Drizzle; a two-method driver for other tools

The TypeScript client and backend currently run on Node.js. Clients use native Rust bindings; browser support is not implemented. See platform validation for tested environments and mobile setup.

Packages are currently used from source. Follow the tutorial's repository commands rather than installing an unpublished package. Need another language, runtime or database adapter? Request support.

Project

GitHub · Framework comparison · Issues · Contribute to the documentation