What a Pivobase backend is
A Pivobase backend is a ready-made backend for an app that talks to Supabase. You create one from the console with a single name, and you get back a URL and two keys. Paste them into your app and it connects, the same way it would connect to a Supabase project. A backend gives your app three things:- a PostgreSQL database that belongs to this backend alone
- sign-up and login for your app’s own users
- a REST API over your tables
supabase-js, and with apps built in Lovable, which use
supabase-js underneath. The page on connecting an app has the exact values for
both.
By invitation
Pivobase is by invitation today. If your account has been invited, the console shows aBackends item in the Resources group. If it does not, Pivobase is not
open to your account yet and there is nothing to enable. We open it to more
accounts step by step, and we say so on the What’s new page when that changes.
Create a backend
- Open
Backendsand pressCreate backend. - Type a name. The name is only for you. It is not part of the URL, and nobody else sees it.
- Press
Create backendagain. The console takes you to the backend’s page, which saysSetting up your backendand updates by itself when it is ready.
Failed. Create a new
backend a few minutes later.
What works now
- Creating a backend and reading its URL and keys.
- The anon key and the service key, with the service key hidden until you ask for it.
- Regenerating both keys when one has leaked.
- Sign-up with an email address and a password, and login with the same.
- The REST API and the database, from
supabase-jsor from plain HTTP.
What does not work yet
- Sign-ups are confirmed automatically. Nobody receives a confirmation email. A person who signs up can log in at once, with any email address, so your app should not treat the address as proven.
- Email does not work yet. A backend sends no email at all. Password reset by email does not work, so a user who forgets a password cannot recover the account yet. Plan for that in your app.
- Deleting a backend is not in the console yet. Contact support if you need one removed.
Sleep and wake
A backend that gets no request for 15 minutes sleeps, and the next request wakes it by itself after a few seconds. The page on why a backend sleeps and how it wakes says what keeps it awake, what does not run while it sleeps and what to do with a503 answer: Why my backend sleeps and how it wakes.