Hasura
FreemiumInstant GraphQL APIs on your data — real-time, secure, and production-ready.
Scores
About
Hasura is an open-source GraphQL engine that automatically generates a production-ready GraphQL API by introspecting databases and data sources. Connect it to PostgreSQL and it instantly exposes every table, view, and relationship as a fully-typed, queryable schema — including mutations, pagination, filtering, aggregations, and real-time subscriptions — without writing a single resolver.
Beyond schema generation, Hasura handles access control at the row and column level via role-based rules, captures database events to trigger webhooks (enabling event-driven microservice patterns), and allows extending the API with custom REST endpoints (Actions) or remote GraphQL services (Remote Schemas). This makes it practical to build complex production APIs while keeping business logic in dedicated services rather than tangled inside the API layer itself.
The platform has evolved through two major architectures: Hasura v2 (the classic GraphQL Engine, self-hostable via Docker or deployable on Hasura Cloud), and Hasura DDN (Data Delivery Network, v3 — a cloud-native federated supergraph platform for multi-team, multi-database architectures). The open-source core is Apache 2.0 licensed; advanced enterprise features and the DDN cloud require paid plans.
Hasura is a step up from PostGraphile in terms of managed experience: it offers a console UI, multi-database support beyond PostgreSQL (Snowflake, MongoDB, ClickHouse, MySQL via connectors), and a hosted cloud option — at the cost of more vendor dependency. With 32,000 GitHub stars and deployments powering millions of users, it is the most widely adopted managed GraphQL engine available.
Key Features
- Instant GraphQL API from PostgreSQL and other databases — no resolvers required
- Real-time subscriptions powered by database event capture
- Fine-grained RBAC — row-level and column-level access control rules
- Event triggers: capture INSERT/UPDATE/DELETE and reliably fire webhooks
- Actions: extend GraphQL schema with custom business logic via REST endpoints
- Remote Schemas: stitch existing GraphQL services into the unified API
- Multi-database support via connectors (PostgreSQL, MongoDB, Snowflake, ClickHouse, MySQL)
- Hasura DDN: federated supergraph for multi-team, multi-repo API architectures
Pros
- Eliminates manual GraphQL resolver code — a working, documented API ships in minutes
- Row-level security and fine-grained RBAC make multi-tenant access control straightforward
- Event triggers enable reliable, transactional webhooks without additional infrastructure
- Self-hostable via Docker with no vendor lock-in for the open-source v2 engine
- Strong ecosystem: 32k GitHub stars, extensive docs, and active community
Cons
- Complex business logic outside the database still requires external services (Actions add latency)
- Authorization rule configuration becomes complex in fine-grained multi-tenant scenarios
- Advanced features and cloud hosting require paid plans; DDN pricing (per active model) can be opaque
- Primary strength is PostgreSQL; other database connectors are less mature
- DDN (v3) architecture is a significant departure from v2 — migration path is non-trivial
Pricing
Freemium- · Unlimited models and API requests
- · 1 developer seat
- · Community support
- · Ideal for individuals and prototypes
- · Price per active model/month (model accessed >1,000 times)
- · Unlimited developers
- · 30-day observability retention
- · For single-team production workloads
- · Price per active model/month
- · Multi-team federated supergraph collaboration
- · Multi-repo CI/CD support
- · Extended observability retention
- · Custom pricing
- · Dedicated support and SLA
- · Advanced security and compliance
- · On-premises deployment options
Possible Stacks
Hasura + Next.js
ProjectFull-stack web app powered by Hasura GraphQL Engine on top of PostgreSQL with a Next.js frontend — instant GraphQL API over your database.
Related Tools
Works well with (4)
Learning Resources
No resources yet — check back soon.