Backend & SDK

SDK overview

The m77 runtime available in every app.

Every maker77 app automatically includes the m77 runtime. You never add a script tag — it's injected into previews and published apps.

await m77.ready;                         // session restored
const tasks = await m77.db.list('tasks'); // database
m77.auth.user;                           // signed-in user or null
const text = await m77.ai.chat('Hi!');   // AI
m77.toast('Saved!');                     // toast message
ModuleWhat it does
m77.dbSchemaless cloud database with collections
m77.authSign up, sign in and per-user data
m77.aiChat completions and JSON output
m77.storage / m77.emailFile uploads and transactional email
m77.paymentsStripe Checkout payments into your own account
WebhooksSend record and sign-up events to other tools

All methods return Promises. Errors throw an Error with a readable message and a status property.

Using the SDK outside maker77

Exported web projects keep working: the export adds the runtime script tag pointing to your app's backend. Native clients (like your Flutter app) use the REST API.