Skip to content

Nhost

Postgres and GraphQL backend with auth, storage and functions, self-hostable

Permissive (OSI) · MIT

Listed by , founder & editor

86

Health

Thriving

Overview

Stars

9,398

Last commit

today

Nov 2026

Repository age

5 years

since Feb 2021

Latest version

constellation@0.8.1

Nov 2026

Contributors

–

17 active in 90 days

Releases

21

last 12 months

Language

Go

Nhost is an open source backend platform built on PostgreSQL. Hasura provides an instant GraphQL API on top of the database. Separate services handle authentication and file storage, and serverless functions run on Node.js in JavaScript or TypeScript.

You can use the hosted platform, work locally with the Nhost CLI, or self-host the whole stack with an example docker-compose file. The CLI tracks database migrations and Hasura metadata, and includes an MCP server so AI coding assistants can read your schema and run allowed queries. Client libraries exist for JavaScript/TypeScript and for Dart and Flutter, and it works with any frontend framework.

Nhost is a direct replacement for Firebase and Parse if you prefer a relational model and GraphQL. It has no built-in push notifications, offline client cache or analytics. The code is MIT licensed, and hosted plans start at 25 USD per month.

Who it's for

Frontend developers who want a Firebase-style backend with SQL

You get Postgres, auth, storage and a GraphQL API without writing a server.

Skip if: You need built-in push notifications or offline sync.

Teams that want to self-host their backend stack

The full stack is open source and runs from a docker-compose example.

Skip if: You want a managed service with no infrastructure work.

Flutter and web app builders

Official clients cover JavaScript/TypeScript and Dart/Flutter.

Skip if: You target a platform with no client library and prefer a REST-first backend.

The problem it solves

Building a backend means wiring up a database, login, file storage and an API before any product work starts. Firebase does this but locks you into a document model and a vendor. Nhost offers the same bundle on Postgres and GraphQL.

Strengths

  • Built on PostgreSQL with an instant Hasura GraphQL API
  • MIT license and a fully self-hostable stack
  • CLI tracks migrations and Hasura metadata locally
  • Clients for JavaScript/TypeScript and Dart/Flutter
  • MCP server built into the CLI

Trade-offs

  • No built-in push notifications
  • No offline client cache
  • No built-in analytics
  • Relational model differs from Parse's object API

Nhost replaces

Self-host Nhost

Self-hostable
Yes
Hosted plan
From $25/month · pricing

Quick start

nhost login
nhost init
nhost up

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is Nhost free?

The code is MIT licensed and free to self-host. Hosted plans start at 25 USD per month.

Can I self-host it?

Yes. The README points to an example docker-compose file for the whole stack.

What does it replace?

It is a direct replacement for Firebase and Parse.

How do I develop locally?

Install the Nhost CLI with Homebrew, a curl script, Nix or npm, then run nhost login, nhost init and nhost up.

Other Firebase alternatives

Compare all 6 Firebase alternatives →

Similar tools in Backend as a service

prest

Backend as a service

Go server that exposes REST and MCP APIs on a Postgres or MySQL database

4.6k 327 4 days ago Thriving MIT

postgrest

Backend as a service

Standalone server that turns a PostgreSQL schema into a REST API for backend developers

28k 1.2k today Thriving MIT

Kuzzle

Backend as a service

Generic backend with realtime API, search and user management for web and IoT apps

1.7k 135 today Active Apache-2.0

Kinto

Backend as a service

Minimalist JSON storage service with sync and sharing for developers building apps

4.4k 443 today Thriving Apache-2.0

daptin

Backend as a service

Self-hosted Go backend that turns a data schema into APIs, auth and automation

1.9k 122 today Active LGPL-3.0

TrailBase

Backend as a service

Single-binary Rust backend with auth and REST APIs for app developers

5.8k 201 3 days ago Active OSL-3.0

Replaces Firebase