Skip to content
Web platforms · Web app

PocketBase

A backend in one file: auth, database and API.
  • 20 Dcoins / hour
  • standard machine
  • ready in about 10 seconds
  • web
  • database
  • development

About PocketBase

PocketBase is an open-source backend in a single file: an embedded SQLite database, user authentication, file storage and a REST and real-time API, with an admin dashboard. This lab runs PocketBase 0.39, ready to sign in to.

Create a collection, define its fields, and the API is already there. Set API rules that let a signed-in user read only their own records, upload a file to a record, and subscribe to changes so that a web page updates live when data changes. It is one of the fastest ways to give a student project a real backend.

It is also a good way to learn what a backend has to do, because PocketBase makes each piece visible in its dashboard. Compare it with Directus, which wraps an existing database, to see two different answers to the same question.

What is installed

  • Admin dashboard
  • Auto-generated REST API
  • Realtime subscriptions
  • Built-in auth & file storage

What it is good for

  • Rapid backend prototyping
  • Learning Backend-as-a-Service
  • App backends
  • REST API practice

What it costs

20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.

From Start to a working PocketBase takes about 10 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.

Courses that practise this

Similar labs