Open Source backend
for your next SaaS and Mobile app
in 1 file
                Realtime database
                Authentication
                File storage
                Admin dashboard
            
Ready to use out of the box
                Explore all features
                    
import PocketBase from ‘pocketbase’;
const pb=new PocketBase(‘http://127.0.0.1:8090’);
…
const list=await pb.collection(‘example’).getList(1, 100, {
    filter: ‘title !=”” && created> “2022-08-01″‘,
    sort: ‘-created,title’,
});
const record=await pb.collection(‘example’).getOne(‘RECORD_ID’);
await pb.collection(‘example’).delete(‘RECORD_ID’);
const newRecord=await pb.collection(‘example’).create({
    title: ‘Lorem ipsum dolor sit amet’,
});
pb.collection(‘example’).subscribe(‘*’, function (e) {
    console.log(e.record);
});
pb.collection(‘example’).unsubscribe();
Integrate nicely with your favorite frontend stack
            
            
            
            
>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://pocketbase.io/
