Developers replacing Firebase with Postgres
Nhost fits applications that need auth, storage, serverless functions, and GraphQL without leaving SQL behind.
Skip if:
Skip if Firebase already meets your data model and hosting requirements.
Black Friday at Hostinger: 15% off yearly and longer plans with BFVPS15, until 6 Dec. See plans
Black Friday: 15% off hosting with BFVPS15

Open source alternative to Firebase and AWS Amplify
Last verified
Nhost is an open source Firebase alternative with GraphQL, PostgreSQL, authentication, file storage, and serverless functions in a single self-hosted or cloud-hosted backend. MIT licensed.
Nhost fits applications that need auth, storage, serverless functions, and GraphQL without leaving SQL behind.
Skip if Firebase already meets your data model and hosting requirements.
Use Nhost when instant GraphQL over PostgreSQL is a core requirement for web or mobile product development.
Skip if your team prefers hand-written REST APIs and minimal platform dependencies.
Firebase is fast for prototypes, but teams can outgrow its document model, proprietary platform coupling, and limited portability. Applications that need relational data, GraphQL APIs, and self-hosting often rebuild backend primitives that a BaaS provided at the start.
Uses PostgreSQL as the database layer instead of a proprietary document database model.
Provides an instant GraphQL API through Hasura, which gives applications typed data access quickly.
Combines authentication, file storage, serverless functions, and a local development CLI in one backend platform.
Yes. The README describes Nhost as an open source Firebase alternative with GraphQL and SQL.
Yes. The README says the full Nhost stack can be self-hosted and links to a Docker Compose example.
Nhost uses PostgreSQL and exposes instant GraphQL through Hasura.
Alternative to
Firebase
Reactive backend with TypeScript functions and real-time sync
Alternative to
Firebase
Full-stack framework for building production-ready web apps
Alternative to
Firebase
Open source Firebase: Postgres database, auth, and file storage
Alternative to
Firebase
Self-hosted backend: auth, databases, storage, and functions
Alternative to
Firebase
Self-hosted backend with real-time API and search built in
Alternative to
AWS Amplify
Auto-generate infrastructure from your TypeScript or Go code
Self-host Nhost on a Hostinger VPS
Keep it running 24/7, even when your laptop is off. A Hostinger VPS gives it a server of its own.
Choose a plan
Starts from $6.49/mo
Apply
15% off yearly and longer plans, until 6 Dec
Install Nhost
On a server that stays on
Start building
Focus on the app, not the server
Sponsors
Live monitoring on LinkedIn, X, Reddit & more. Agentic social listening for startups.
Alternative to
Jira
Self-hosted work management for teams leaving Jira
Alternative to
Conductor
Agent workspace for teams running Claude Code or Codex
The projects we add and every new guide. Free, unsubscribe any time.