Start with a product or guide

  • Start here

↑↓to moveto openEscto close
CloudCloud overview

Alphamezair-cloud/

Mezair Cloud

Build an app backend in TypeScript, then choose where it runs.

Define your app's data, API routes, background jobs and permissions in TypeScript. Run it locally without a cloud account, then review the resources it needs before deploying. Mezair calls each app a Cell. AWS deployment is in preview.

import { app, query, table, text } from "@mezair-cloud/runtime";

export default app({
  schema: { orders: table({ title: text() }) },
  capabilities: { database: true },
  queries: {
    listOrders: query({
      auth: "required",
      handler: async (ctx) => ctx.db.orders.page({ limit: 25 })
    })
  }
});
An example backend with a data table and a signed-in query returning up to 25 orders.

What it's for

Provides the backend tools for your own apps. It is separate from Desktop and the optional hosted Sync service.

Where it's at

Alpha. The runtime, CLI and AWS preview work today. Hosted Mezair Cloud Agents isn't available yet.

  • Read and update app data, expose API routes, and run background work
  • Give agents explicit permissions and choose which actions need approval
  • Test sign-in and access rules locally before connecting a hosted identity provider
  • Inspect your app's configuration, logs and data in the local Lens dashboard
  • Deploy plans you can read before anything is created

Read the docs

Learn

Understand what the product owns, how it works, and where its limits sit.

Reference

Find commands, configuration, security notes, status, and troubleshooting.