Hasura
Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events
Official website: hasura.io
What is Hasura?
Hasura: Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events. It is a free and open-source self-hosted api platform. It's written mainly in TypeScript and released under the Apache-2.0 license. The project has 32.1K stars on GitHub and 3K forks, and its last commit landed 21 days ago. Our maintenance health score is 92/100 (thriving). It can be deployed with Docker.
Hasura is a powerful tool that provides fast, real-time GraphQL APIs on PostgreSQL databases. It offers fine-grained access control, allowing developers to specify permissions at the field level, ensuring data security and compliance. Additionally, Hasura enables the triggering of webhooks in response to database events, such as inserts, updates, and deletes. This feature facilitates seamless integration with external services and enables developers to build reactive applications with ease. With Hasura, developers can leverage the flexibility and efficiency of GraphQL while harnessing the capabilities of PostgreSQL for building modern, scalable applications.
How to self-host Hasura
- 1. Get a server. A $5/month VPS or any always-on machine at home works for most single-user setups.
- 2. Install it. Hasura ships Docker images — grab the
docker-compose.ymlfrom the repository and rundocker compose up -d. - 3. Add HTTPS. Put it behind Caddy, Traefik or Nginx Proxy Manager.
- 4. Back up. Schedule backups of its data volume and database — self-hosting means you own recovery too.
Hasura FAQ
What is Hasura?
Hasura: Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events. It is a free and open-source self-hosted api platform. It's written mainly in TypeScript and released under the Apache-2.0 license. The project has 32.1K stars on GitHub and 3K forks, and its last commit landed 21 days ago. Our maintenance health score is 92/100 (thriving). It can be deployed with Docker.
Is Hasura free?
Yes. Hasura is open-source (Apache-2.0), so you can download, self-host and modify it for free. You only pay for the server you run it on.
How do I self-host Hasura?
The quickest route is Docker: Hasura ships container images, so a single docker-compose file on any Linux VPS or home server gets you running. Supported platforms/stacks: Haskell, Docker, K8S. Put it behind a reverse proxy such as Caddy, Traefik or Nginx Proxy Manager for HTTPS, and back up its data volume regularly.
Is Hasura still maintained?
Hasura's last commit was 21 days ago and its latest release (v2.51.9) shipped 13 days ago. Its health score is 92/100, which we rate as “Thriving”.
What are the best alternatives to Hasura?
Popular alternatives to Hasura include Hoppscotch Community Edition (★ 80.9K), Tyk (★ 10.9K), Kong (★ 44.4K), Composio (★ 31.2K), DreamFactory (★ 1.8K). Compare them side by side on this page.
Hasura alternatives
All api platform →A free, fast and beautiful API request builder.
★ 80.9KTypeScriptMITThrivingFast and scalable open source API Gateway. Out of the box, Tyk offers an API Management Platform with an API Gateway, API Analytics…
★ 10.9KGoMPL-2.0ThrivingThe World's Most Popular Open Source Microservice API Gateway and Platform.
★ 44.4KLuaApache-2.0ThrivingIntegration platform for AI agents & LLMs with support for 250+ apps and custom tools.
★ 31.2KTypeScriptElastic-2.0ThrivingDreamFactory is an open-source REST API automation platform that instantly generates secure, documented APIs for databases, file systems…
★ 1.8KShellApache-2.0ThrivingEvaluate, test, and ship LLM applications with a suite of observability tools to calibrate language model outputs across your dev and…
★ 23.5KJavaApache-2.0ThrivingOpen-source API management platform which helps to build and manage REST APIs.
★ 2.1KPHPAGPL-3.0ThrivingYaade is an open-source, self-hosted, collaborative API development environment.
★ 2KJavaScriptMITSlowing
More api platform apps like Hasura
- TwitterAPI.io — 96% cheaper Twitter API—full history & live streaming.