Skip to main content
OpenSourceAlternatives

NHost

Open source · OSI-approvedStatus: unknownNew

Open-source backend with Postgres, GraphQL, auth, and storage

Alternative to Firebase

Nhost is an open-source backend platform that turns a PostgreSQL database into a complete application backend: the schema becomes a GraphQL API, and authentication, file storage, and serverless functions come built in. It is available as a managed cloud starting at $0 or as Docker self-hosting, and the canonical nhost/nhost repository is MIT-licensed.[1][2]

Quick verdict

Nhost is an MIT-licensed open-source backend that generates a GraphQL API from PostgreSQL and bundles auth, storage, and serverless functions, on managed cloud or Docker self-hosting.[1][2]

What Nhost gives an application

  • Tables become queryable GraphQL the moment they exist. Nhost exposes PostgreSQL through Hasura as an auto-generated GraphQL API: tables and views become queryable types, and row-level permission rules decide who can read or write each row. The docs Quickstart shows the flow concretely: sign in, receive a JWT, and query the API with that token in the Authorization header. Hasura Actions add custom business logic as REST endpoints, while Event Triggers fire webhooks on database changes and Scheduled Triggers run cron-style work.[1]

  • Sign-in covers passwords, OAuth, magic links, and MFA. Authentication supports email and password, OAuth sign-in with providers including Apple, Google, GitHub, Discord, and LinkedIn, passwordless email links and one-time passwords, and multi-factor authentication with TOTP. The docs also cover anonymous and SMS sign-in, custom verification emails, and JWT configuration. Permissions are enforced at the database row level rather than in application code.[1]

  • Uploads land in buckets guarded by the same permission model. File storage is S3-compatible with bucket organization, image transformation, virus scanning, and permission rules that mirror the database authorization model. Files can be uploaded, downloaded, and managed from the dashboard or API under per-bucket access control.[1]

  • TypeScript functions run on demand or on a schedule. Serverless functions run JavaScript and TypeScript with NPM packages, can be invoked on demand or on a schedule, and include a local Node.js runtime for development. Remote Schemas let the GraphQL API reach external REST or GraphQL services, so the backend can compose outside data without a separate gateway.[1]

  • One command runs the backend; one command ships it. The Nhost CLI installs via NPM, creates a project from a starter template, runs the full backend locally with one command, and deploys to the cloud with another. Type-safe SDKs exist for React, Vue, Next.js, JavaScript, and Dart/Flutter, and the dashboard manages database, users, and files.[1]

Teams most likely to fit Nhost

  • Best when Postgres plus GraphQL is the answer. Teams building Firebase-style applications that would rather own a real Postgres database are the natural audience: they get generated APIs without surrendering the schema, migrations, and SQL escape hatches that plain Postgres preserves. The dated third-party comparison places Nhost against Supabase for exactly this evaluation.[1][2]

  • Self-hosting keeps regulated or cost-sensitive data in-house. Organizations that must run backends on their own infrastructure, or that want a free self-hosted core with an optional paid cloud later, fit the Docker self-host path the docs describe. The comparison notes Nhost's focus on startups and small to medium businesses.[1]

  • Generous free tier with a clear upgrade ladder. The starter plan is free with auth, Postgres, GraphQL, storage, and serverless functions, while launch and pro tiers from $25 per project per month add collaboration, longer retention, higher limits, autoscaling, multi-region availability, and SLAs. That ladder is documented on the official pricing page.[1]

Limits to weigh before adopting

  • GraphQL-first narrows the audience. Nhost's API story centers on GraphQL via Hasura, whereas peers lead with REST plus realtime subscriptions. Teams standardized on REST, or needing built-in realtime channels and edge functions as first-class primitives, should verify those paths in the docs before committing, since the inspected pages emphasize GraphQL, actions, and triggers instead.[1][2]

  • Ecosystem depth is thinner than the largest peers. The third-party comparison records fewer third-party integrations for Nhost than for Supabase. Combined with a smaller community footprint, that means fewer ready-made examples and extensions; the MIT license and standard Postgres foundation mitigate lock-in but not the integration gap.[1]

Portability and the surrounding stack

Postgres stays Postgres, under MIT terms. Because the database is plain PostgreSQL behind a Hasura GraphQL layer and the canonical repository is MIT-licensed, the schema, migrations, and data remain portable outside the platform. Self-hosting with Docker is a documented path, not a workaround.[1][2]

Cloud and local share one workflow. Local development runs the same backend that deploys to Nhost Cloud, with Git-based deployment and preview environments on paid tiers. That symmetry keeps the self-hosted and managed paths from diverging into different products.[1]

Questions worth asking

Is Nhost really open source, and under which license?

Yes. The canonical nhost/nhost repository is MIT-licensed, and the official site links that repository as the product's open-source home. The managed cloud is a paid convenience layer around the same core.[1][2]

Can I self-host Nhost instead of using Nhost Cloud?

Yes. The docs describe self-hosting Nhost with Docker, and the homepage presents self-hosting and Nhost Cloud as the two supported paths. Local development runs the same backend that deploys to the cloud.[1]

How does Nhost pricing work?

A starter plan is free with auth, Postgres, GraphQL, storage, and serverless functions. Launch and pro tiers start at $25 per project per month and add collaboration, longer retention, higher limits, autoscaling, multi-region availability, and SLAs.[1]

Should a new app choose Nhost or Supabase?

Both are open-source Firebase alternatives on Postgres at similar starting prices. Prefer Nhost when the API should be GraphQL-first via Hasura; prefer Supabase when REST-first access, built-in realtime, and a larger integration ecosystem matter more. Neither vendor endorses this comparison.[1][2]

Sources and editorial review

Source research. Reviewed on October 11, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.

We have not run or tested this product.

  1. Nhost: The Open Source Firebase Alternative with GraphQL

    official · Observed October 11, 2026

    Official product homepage inspected 2026-10-11: positioning, Postgres/GraphQL/auth/storage/functions rundown, self-hosting vs cloud comparison, starter/launch/pro pricing, docs/CLI/API links, Quickstart JWT flow.

  2. nhost/nhost on GitHub

    official · Observed October 11, 2026

    Canonical repository page inspected 2026-10-11: MIT license, TypeScript-majority codebase, 5.1k stars, 458 forks, v2.17.0 tagged 2026-09-02, latest commit about 7 days prior.

  3. Firebase Alternatives in 2026, Priced

    published measurement · Observed October 11, 2026 · Published September 20, 2026

    Dated 2026-09-20 third-party comparison of Firebase alternatives: Nhost row (MIT, Postgres/GraphQL/Hasura, from $0, Launch $25/mo) beside Supabase and alternatives; startup/SMB positioning and narrower integrations noted. Used for competitive context, not vendor facts.

Compared with these products

Similar projects

Related projects with shared categories, technologies, or licensing.

Supabase

SupabaseOpen

Postgres-powered backend platform for production apps

Stars108.7K
Commit8h ago
LicenseApache-2.0

Supabase gives an application everything it needs on the server side without hiding the database behind a proprietary abstraction. The primitive is plain Postgres, and the platform layers authentication, generated APIs, storage, realtime subscriptions, and edge functions on top of it.

Dokku

DokkuOpen

Self-hosted PaaS that deploys apps with a git push

Stars32.2K
Commitjust now
LicenseMIT

Dokku is a self-hosted platform-as-a-service that turns your own Linux server into a Heroku-style deployment target driven by git push.

PocketBase

PocketBaseOpen

Open source backend in one file with realtime database and auth

Stars61.4K
Commitjust now
LicenseMIT

PocketBase is an open source backend with an embedded SQLite database, realtime subscriptions, auth, file storage, and an admin dashboard in one executable.

Meilisearch

MeilisearchOpen

Typo-tolerant search that is fast to run and fast to tune

Stars52.3K
Commit1d ago
LicenseMIT

Meilisearch is a search engine you can be productive with in an afternoon. Indexing is a POST, relevance is tuned through an ordered list of ranking rules, and results come back typo-tolerant by default.

Coolify

CoolifyOpen

Deploy applications to your own servers with one click

Stars48.9K
Commit8h ago
LicenseApache-2.0

Coolify is a deployment platform that runs on servers you already pay for. It builds from a Git repository, provisions databases, issues certificates, and handles rollbacks, without the per-instance pricing of a hosted platform.

Puter

PuterOpen

Browser-based personal cloud computer with apps and storage

Stars43.7K
Commitjust now
LicenseAGPL-3.0

Puter is a browser-based personal cloud computer with a virtual desktop, built-in apps, file storage, and a developer backend.