Skip to content
Deal Night
Menu

Supabase

Accounts, data and live updates with Supabase

Supabase handles sign-in, hosts the Postgres database and tells the apps when to refresh.

Accounts sign in with Supabase Auth, and the API checks each request’s token before it does anything. Games, invitations, groups and results live in a Supabase-hosted Postgres database.

When something changes, the API sends a small “something changed” signal on the game’s, group’s or user’s channel. The apps then fetch the new data themselves; the signal carries no data.