Back to articles
PocketBase Has a Free Backend in a Single File

PocketBase Has a Free Backend in a Single File

via Dev.to WebdevAlex Spinov

PocketBase is a free, open-source backend that runs as a single binary. Download one file, run it, and you have a complete backend. What Is PocketBase? PocketBase gives you a database, authentication, file storage, and admin dashboard in a single 15MB binary. Key features: Embedded SQLite database Built-in authentication (email, OAuth2) File storage with thumbnails Real-time subscriptions Admin dashboard REST API auto-generated Single binary (15MB) Zero dependencies Quick Start wget https://github.com/pocketbase/pocketbase/releases/latest/download/pocketbase_0.23_linux_amd64.zip unzip pocketbase_0.23_linux_amd64.zip ./pocketbase serve Admin: localhost:8090/_/ | API: localhost:8090/api/ JavaScript SDK import PocketBase from " pocketbase " ; const pb = new PocketBase ( " http://localhost:8090 " ); await pb . collection ( " users " ). authWithPassword ( " user@email.com " , " pass " ); const posts = await pb . collection ( " posts " ). getList ( 1 , 20 , { filter : " status = published "

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles