upvote
Supabase is pretty heavyweight. I personally like PocketBase with one small exception - it doesn't support null as a valid value, even though the backing database is SQLite.

You can work around it (aka a magic constant), but if all floating-point values have a meaning for a given column then you effectively have to create an additional boolean column, `isColumnFilled` to indicate whether the data in there is valid.

reply
Huh, that's a pretty weird limitation, I wonder why that decision was made. Still, seems worth trying out, thanks!
reply
PocketBase is excellent IMO, accelerating the building of a wide class of 3-tier apps and being very simple and straight forward to deploy and manage. A single Go executable with an SQLite database and optional custom extensions registered with hooks gives you the entire backend and management console. There's a frontend SDK too. I've used it with the built-in subscriptions (SSE) for a real(ish) time scoring system and it works fine for light concurrency.
reply
Thanks! You've convinced me, I'm deploying it right now.
reply
It is my go-to "backend" for every little tool I'm building.

There are some annoyances with its admin interface I have to live with when manually adding/editing records (to give an example, the datetime field uses MM-DD-YYYY and there's no way to change that), but it does the job I want it to do and I never felt the need to look for an alternative.

reply
All of the Superbase/Firebase alternatives will either have difficult self hosting or strange limited hosted options .

I’d probably use Django and vibe code any custom functions needed.

PS: Carefully evaluate if you really want to add multiplayer to a small game. So many considerations are involved with security and other issues. It can quickly take the fun out of building it

reply
Eh for a game between friends it's fine, and I don't want a full backend for it. I use a simple message queue for the state but maybe Pocketbase has a little nicer primitives for this.

I'll look into it more, but even just better channels is enough for the kind of 20-minute games I build (like the one above, or https://justone.stavros.io/ to quickly play with friends).

reply
Any reason you don’t want to roll your own with NodeJS and web sockets.

Claude should be able to build it pretty easily.

reply