Back to Blog
team@tinypod.app

Self-Hosting PocketBase: Backend in One File

PocketBase is an entire backend in a single binary. Database, auth, file storage, real-time subscriptions, and admin dashboard.

pocketbasebackenddatabasedevelopment

What Is PocketBase?


PocketBase provides an entire backend stack in a single Go binary:

  • SQLite database with REST API
  • User authentication
  • File storage
  • Real-time subscriptions
  • Admin dashboard

  • Features


    Database

  • Create collections (tables) via admin UI
  • Auto-generated REST API and SDK
  • Filtering, sorting, pagination
  • Relations between collections
  • JSON fields

  • Authentication

  • Email/password auth
  • OAuth2 (Google, GitHub, etc.)
  • API tokens

  • Files

  • File upload and storage
  • Image thumbnails
  • File access rules

  • Real-Time

  • Subscribe to collection changes
  • WebSocket-based
  • Per-record subscriptions

  • Admin Dashboard

  • Visual collection management
  • Data browser and editor
  • API documentation
  • Logs viewer

  • Use Cases


  • MVP backends
  • Mobile app backends
  • Small SaaS products
  • Internal tools
  • Prototype development

  • Deployment


    1. Deploy PocketBase on TinyPod

    2. Create collections in the admin UI

    3. Connect your frontend via SDK

    4. Ship your app


    Resources: 1 CPU, 128 MB RAM. PocketBase is incredibly efficient.


    One binary. One file database. Everything you need for a backend. Perfect for rapid prototyping on TinyPod.