Backend ve SDK
Depolama ve e-posta
Dosya yükle ve işlem e-postaları gönder.
Dosya yükleme
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' });En fazla 10 MB'lık dosyalar. Her yükleme 1 entegrasyon kredisi kullanır. Yüklenen dosyalar Veriler sekmesinde listelenir. Görseller, video ve ses tarayıcıda açılır; PDF'ler ve diğer belgeler açılınca indirilir.
E-posta
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>',
});Her e-posta 1 entegrasyon kredisi kullanır. Uygulamalar saatte en fazla 50 e-posta gönderebilir.
Bildirimler (toast)
b77.toast('Saved!');
b77.toast('Something went wrong', 'error');