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| Module | What it does |
|---|---|
| m77.db | Schemaless cloud database with collections |
| m77.auth | Sign up, sign in and per-user data |
| m77.ai | Chat completions and JSON output |
| m77.storage / m77.email | File uploads and transactional email |
| m77.payments | Stripe Checkout payments into your own account |
| Webhooks | Send 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.