Backend og SDK
Lagring og e-mail
Upload filer og send transaktionelle e-mails.
Filupload
const input = document.querySelector('input[type=file]');
const { url, name, size } = await b77.storage.upload(input.files[0]);
await b77.db.create('photos', { url, caption: 'Sunset' });Filer på op til 10 MB. Hver upload bruger 1 integrationskredit. Uploadede filer vises i Data-fanen. Billeder, video og lyd åbnes i browseren; PDF'er og andre dokumenter downloades, når de åbnes.
await b77.email.send({
to: 'customer@example.com',
subject: 'Your booking is confirmed',
html: '<h1>See you Friday!</h1><p>Table for 2 at 19:30.</p>',
});Hver e-mail bruger 1 integrationskredit. Apps kan sende op til 50 e-mails i timen.
Notifikationer (toasts)
b77.toast('Saved!');
b77.toast('Something went wrong', 'error');