BASE

PocketBase

PocketBase

A local backend with a database, files, and authentication · Free

Runs an application backend as one executable: SQLite, users, file storage, realtime, and an API with an administration panel. It suits prototypes and small applications.

Resource illustration: PocketBase

Open resource ↗

What you can use for free

MIT code, prebuilt Windows/macOS/Linux releases, and self-hosted execution are free, including commercial use.

Paid features and costs

Servers, backups, and external email/AI services are billed separately.

Access and limitations

MIT code, prebuilt Windows/macOS/Linux releases, and self-hosted execution are free, including commercial use. Servers, backups, and external email/AI services are billed separately.

Use cases

  • Add sign-in and data storage to a web prototype
  • Run a small API on your own computer or server

Example workflow

A possible workflow; this is not a report of hands-on testing.

Example workflow with PocketBase: Add sign-in and data storage to a web prototype.

Before you start

  • One application entity, its fields, and the expected path for reading or modifying data.
  • User roles, access rules, and a small set of test records.
  • From the tech stack mentioned on this page, choose an option that suits your project: SQLite; check version compatibility in the documentation.

Steps

  1. For the task “Add sign-in and data storage to a web prototype”: set up minimal storage and access for the chosen workflow.
  2. Connect the interface to real reads and writes, then add empty and error states.
  3. Test the action as different users and after reopening the application.

Check your result

  • Data is actually saved; users can view and change only the records they are allowed to access.
  • Errors and invalid data are handled; quotas, maintenance, and migrations are considered when choosing the environment.

Choosing PocketBase

Add sign-in and data storage to a web prototype

Choose this when

  • Add sign-in and data storage to a web prototype
  • Run a small API on your own computer or server

Consider alternatives when

  • When choosing for this topic, compare PocketBase with Supabase. A candidate to compare under the topic: APIs and server SDKs, Authorization and access. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Requirements

  • Docker deployment requires a persistent volume for /pb/pb_data; no official Docker image exists, and the documentation provides a Dockerfile example.

Things to consider

  • Costs and limits of free use: Servers, backups, and external email/AI services are billed separately.
  • Terms of use: MIT.
  • Backward compatibility is not guaranteed before version 1.0; the author advises against critical production applications unless you are prepared to maintain migrations manually.
  • It does not replace a distributed scalable backend.
  • Backups exclude previous local backup files and objects already uploaded to S3. A large pb_data may require another strategy; creating a backup temporarily slows queries.

Frequently asked questions

What can you use for free in PocketBase?

MIT code, prebuilt Windows/macOS/Linux releases, and self-hosted execution are free, including commercial use.

What additional costs might arise with PocketBase?

Servers, backups, and external email/AI services are billed separately.

What terms of use matter for PocketBase?

MIT.

Which environment can you use PocketBase in?

Tech stack: Go, SQLite. Environment: Windows.

How do you get started with PocketBase?

For the task “Add sign-in and data storage to a web prototype”: set up minimal storage and access for the chosen workflow. Connect the interface to real reads and writes, then add empty and error states. Test the action as different users and after reopening the application.

What is included in a PocketBase backup?

The built-in backup is a ZIP snapshot of pb_data including locally uploaded files. It can be stored locally or in a separate S3-compatible bucket; manual pb_data copying requires stopping the application for transaction safety.

Related tasks and approaches

  • Supabase

    A candidate to compare under the topic: APIs and server SDKs, Authorization and access. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Platforms

  • Windows

Tech stack

  • Go
  • SQLite

License

MIT.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Usage details

Backward compatibility is not guaranteed before version 1.0; the author advises against critical production applications unless you are prepared to maintain migrations manually. It does not replace a distributed scalable backend.

Technologies and topics

  • SQLite
  • Go
  • REST
  • Realtime
  • Windows

Sources

Other resources