- About
- Open-source Firebase alternative with GraphQL.
- Catalogue
- No. 409
- Category
- Development
- GitHub stars
- ★ 9.4k

Overview
Nhost is an open-source backend for web and mobile apps, built around GraphQL and SQL. Each project gets a PostgreSQL database, an instant GraphQL API from Hasura, authentication, file storage and serverless functions in Node.js. You can use the hosted Nhost platform, develop locally with the Nhost CLI, or self-host the whole stack with Docker Compose.
What it does well
The CLI sets up a local environment that tracks database migrations and Hasura metadata, so what you build locally matches what you deploy. Permissions are defined on the GraphQL API, and the JavaScript SDK handles sign-in and requests from your app. The CLI also includes an MCP server, so an AI coding assistant can read your GraphQL schema, run the queries you allow and search the Nhost docs.
Why it’s in the collection
Nhost is a good fit if you want Firebase's convenience but on Postgres, with a GraphQL API generated from your schema. It's MIT-licensed and the whole stack can be self-hosted.
On GitHub
- Stars
- 9,395
- Forks
- 639
- Commits
- 9,628
- Repository
- nhost/nhost
Languages
- Go 46.6%
- TypeScript 44%
- MDX 2.8%
- Nix 2.3%
- Other 4.3%
Compared with
FirebaseGoogle's backend-as-a-service for app development.
AWS AmplifyAWS's platform for building web and mobile app backends.
SupabaseNo. 001Open-source Postgres development platform.
See every open-source alternative to Firebase in the collection.



