Nhost is a PostgreSQL-centered BaaS. Hasura derives a GraphQL API from the schema, Nhost Auth signs tokens with Hasura claims, and Storage, Serverless Functions, and a local CLI complete the backend. Like Supabase it starts with Postgres, but its API and authorization model differ.
PostgreSQL schema directly shapes GraphQL
Tables, relationships, views, functions, and Hasura metadata determine queries, mutations, and subscriptions. Fast schema-to-API development can also expose mistaken relationships, columns, or expensive nested queries. Add indexes, query depth or allowlists, timeouts, rate limits, and operation telemetry.
Permissions are separate per role, table, and select, insert, update, or delete operation, with no non-admin access by default. Rules use JWT variables such as X-Hasura-User-Id for ownership and tenant filtering and restrict columns, row checks, and aggregates. Admin secrets bypass them and belong in neither browsers nor ordinary server paths.
Auth claims connect identity and data policy
Each user has a default and allowed roles; one request role resolves GraphQL and Storage permissions. Clients must not claim roles absent from trusted tokens. Trusted workflows generate custom claims and permission variables. WebAuthn elevation can protect sensitive changes, but its token lifetime still requires auditing and replay controls.
Storage also uses role and user context. Database rows, objects, and external side effects do not share one ACID transaction. Model uploads with pending and complete states, checksums, cleanup, and idempotency.
Version migrations and Metadata together
Local Development runs PostgreSQL, Hasura, Auth, MinIO, Functions, and Mailhog in Docker. Dashboard database changes generate SQL migrations, while permissions and triggers become Hasura metadata. Review, commit, and deploy both.
Cloud-console-only edits create drift and may be overwritten by synchronization. Migrations must coexist with old and new clients. Test rollback or forward fixes, metadata inconsistency, isolated seeds, and restoration. Functions and event triggers remain idempotent because Hasura delivery is not exactly-once.
Hasura v2 is winding down, and Nhost is building its own engine
Nhost runs Hasura v2 (Community Edition). v2 still gets patch releases, but Hasura's main effort has moved to v3 and DDN, and the official version policy schedules v2 LTS lines through v2.45 (supported until 2027-12) and v2.50 (planned until 2028-12). Nhost describes v2 as winding down, so in 2026-06 it announced Constellation, a Go engine that reads the same Hasura metadata. It is alpha: it serves queries, mutations, and subscriptions, while Actions and event or cron triggers still need Hasura, with both engines running side by side on the same database. When you choose Nhost, design metadata and permissions to Hasura semantics, but track when the GraphQL layer will switch engines and compare both engines on the same traffic in staging.
Nhost fits teams valuing PostgreSQL, GraphQL subscriptions, role permissions, and local/cloud parity. Compare Firebase or Appwrite for REST and mobile ecosystems, Convex for typed reactive functions, and PocketBase for a minimal single host. Test role escalation, nested-query cost, migration plus metadata rollout, event redelivery, orphan cleanup, and Postgres point-in-time recovery.
Update history
- 2026-11-23: Added a section on Hasura v2 winding down (LTS scheduled through 2028-12) and Nhost's Hasura-compatible Constellation engine (alpha), and what that means for selection.