Databases
Hosted backends like Google Firebase keep your app's data and your users' accounts on servers you don't control. These backends can run on your own infrastructure instead.
Avoid
Google FirebaseCloud only, so your app's data, and your users', always lives on Google's servers.ToS;DR E
Use instead

Self-hosted backend with auth, databases, storage and functions for web and mobile apps.
Self-host · BSD-3-Clause

Baserowwebsite trackers
Self-hosted no-code database and spreadsheet, as an Airtable alternative.
Self-host

Backend in a single Go binary, with an embedded SQLite database, realtime subscriptions, auth and an admin UI.
Self-host

Postgres-based Firebase alternative with auth, storage and realtime APIs, though self-hosting is limited.
Self-host · Apache-2.0

Single-executable Firebase alternative built on Rust and SQLite, with REST and realtime APIs, auth and an admin UI.
Self-host · OSL-3.0
Nothing here for this platform.