Best Self-Hosted Backend & BaaS Tools
Self-hosted backend-as-a-service tools replace Firebase with auth, a data API, storage, and realtime you run. Compare them on data layer (Postgres-native vs. their own abstraction), footprint (single-binary vs. multi-service), and the operational gaps self-hosting opens, like backups.
Backend & BaaS apps
Appwrite
Directus
Nhost
Payload
PocketBase
Strapi
Supabase
Head-to-heads in this category
A REST/GraphQL data layer over your own SQL database vs. an all-in-one BaaS with auth, functions, and messaging built in.
A code-first CMS inside your Next.js app vs. an API and admin layer over a SQL database.
A single Go binary vs. an all-in-one Docker platform.
One Go binary and SQLite vs. the full Postgres platform.
A CMS where you build the content model vs. a data platform that sits on top of your SQL database.
A standalone Node.js CMS with a click-to-model builder vs. a code-first CMS that lives inside your Next.js app.
SQL-native and ecosystem-rich vs. all-in-one and easier to stand up.
Postgres you run yourself, or Google's managed NoSQL platform with no self-hosted edition.
Paid link — we earn a commission if you shop through it.
Replace a paid tool
Common questions
How much RAM do self-hosted apps in Backend & BaaS need?
Across the 7 apps in Backend & BaaS, minimums run from 512 MB (Directus) to 4096 MB (Appwrite).
Which app in Backend & BaaS uses the least RAM?
Of the 6 apps in Backend & BaaS we measured, Payload used the least: 100 MB at idle (first boot, measured Oct 2026).
Do self-hosted apps in Backend & BaaS support Docker?
6 of the 7 apps in Backend & BaaS list Docker support.