Dev Toolsdocker-ready1-click-deploypermissive-license
Hasura: the best Open Source alternative to Firebase in 2026
Hasura instantly generates a realtime GraphQL and REST API from your PostgreSQL database, with granular permissions, as an alternative to Firebase or AWS AppSync.
Technical profile
- License
- Apache-2.0
- Category
- Dev Tools
- Replaces
- Firebase, AWS AppSync
- Tech stack
- HaskellPostgreSQL
Preview

Public image provided by Hasura on its own website.
Key features
- Instant GraphQL and REST over PostgreSQL
- Realtime subscriptions
- Row-level permissions
Hasura vs. Firebase
Pros
- No need to write resolvers by hand
Things to consider
- Mainly built for PostgreSQL/a few other databases, not NoSQL
Quick Docker installation guide
Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →
docker-compose.yml
version: "3.9"
services:
hasura:
image: hasura/graphql-engine:latest
restart: unless-stopped
ports:
- "8080:8080"
environment:
- HASURA_GRAPHQL_DATABASE_URL=postgres://hasura:hasura@hasura-db:5432/hasura
- HASURA_GRAPHQL_ADMIN_SECRET=change-me-super-secret
depends_on:
- hasura-db
hasura-db:
image: postgres:15-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=hasura
- POSTGRES_PASSWORD=hasura
- POSTGRES_DB=hasura
volumes:
- hasura_pg_data:/var/lib/postgresql/data
volumes:
hasura_pg_data: