https://pocketbase.io/ PocketBase logo PocketBase v0.20.5 FAQ Discussions Support us Documentation Open Source backend for your next SaaS and Mobile app in 1 file Realtime database Authentication File storage Admin dashboard Gopher PocketBase dashboard preview Live demo Read the documentation Ready to use out of the box Realtime database Embedded performant database with schema builder, data validations, realtime subscriptions and easy to use REST api. Authentication Manage your app users and handle email/password and OAuth2 sign ups (Google, Facebook, GitHub, GitLab) without the hassle. File storage Sanely store files locally or in a S3 storage. Easily attach media to your database records and generate thumbs on the fly. Extendable Use as a standalone app OR as a framework, that you can extend via Go and JavaScript hooks to create your own custom portable backend. Explore all features JavaScript Dart // JavaScript SDK import PocketBase from 'pocketbase'; const pb = new PocketBase('http://127.0.0.1:8090'); ... // list and search for 'example' collection records const list = await pb.collection( 'example').getList(1, 100, { filter: 'title != "" && created > "2022-08-01"', sort: '-created,title', }); // or fetch a single 'example' collection record const record = await pb.collection( 'example').getOne('RECORD_ID'); // delete a single 'example' collection record await pb.collection('example').delete('RECORD_ID'); // create a new 'example' collection record const newRecord = await pb.collection('example').create({ title: 'Lorem ipsum dolor sit amet' , }); // subscribe to changes in any record from the 'example' collection pb.collection('example').subscribe('*', function (e) { console.log(e.record); }); // stop listening for changes in the 'example' collection pb.collection('example').unsubscribe(); Integrate nicely with your favorite frontend stack Flutter logo Svelte logo Vue logo React logo Angular logo FAQ Discussions Support us Documentation JavaScript SDK Dart SDK PocketBase (c) 2023-2024 PocketBase The Gopher artwork is from marcusolsson/ gophers Crafted by Gani