postgrest VS Hasura

Compare postgrest vs Hasura and see what are their differences.

Hasura

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events. (by hasura)
Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Workflow assistant built for devs & their teams
  • SonarQube - Static code analysis for 29 languages.
postgrest Hasura
61 176
19,528 28,762
0.9% 0.9%
9.2 9.8
2 days ago 2 days ago
Haskell TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

postgrest

Posts with mentions or reviews of postgrest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-28.
  • A Poor Man's API
    7 projects | news.ycombinator.com | 28 Nov 2022
    To be fair, begriffs never shut down any discussion of HATEOAS, previous contributors did - because at the time users were asking for more JSON capabilities from PostgREST and we needed to focus on those.

    We're still open on adding HATEOAS, I've just opened an issue for it: https://github.com/PostgREST/postgrest/issues/2579

  • SQLGateway - Access SQL databases over HTTP - Written in Go 💙
    3 projects | reddit.com/r/golang | 28 Nov 2022
    Interesting, I've only used PostgREST before, are you familiar with how they compare?
  • A poor man's API
    9 projects | dev.to | 23 Nov 2022
    FROM debian:bookworm-slim #1 ARG POSTGREST_VERSION=v10.1.1 #2 ARG POSTGREST_FILE=postgrest-$POSTGREST_VERSION-linux-static-x64.tar.xz #2 RUN mkdir postgrest WORKDIR postgrest ADD https://github.com/PostgREST/postgrest/releases/download/$POSTGREST_VERSION/$POSTGREST_FILE \ . #3 RUN apt-get update && \ apt-get install -y libpq-dev xz-utils && \ tar xvf $POSTGREST_FILE && \ rm $POSTGREST_FILE #4
    9 projects | dev.to | 23 Nov 2022
    -- PostgREST
  • [Q] Which backend for elm?
    2 projects | reddit.com/r/elm | 13 Oct 2022
    You mentioned Postgres however. If you’d like to just set up a simple REST-type backend API from a Postgres db, you could use https://github.com/PostgREST/postgrest. Maybe a CMS like Strapi or Contentful could suit your needs?
  • Hyperlambda HTTP Interceptors
    2 projects | dev.to | 7 Oct 2022
    Other use cases might be adding business logic to an HTTP endpoint you cannot add business logic to, such as for instance a GraphQL or PostgREST endpoints, such as those given to you by Hasura or Supabase. Logically this becomes the HTTP and Hyperlambda equivalent of OOP “polymorphism”, since it allows you to take some static thing, and modify how it behaves by “overriding” your original HTTP method. In the video below I am showing you how such interceptors works.
  • A comparison of Supabase, Hasura and Aista
    6 projects | dev.to | 5 Oct 2022
    In only 2 years Supabase has dwarfed Hasura. In its existence it has achieved 39.400 stargazers at GitHub. Supabase is built on an entirely different technology. However, Supabase seems to have GraphQL initiatives in the making, and might deliver GraphQL later since it’s currently a BETA product they deliver. However, their primary product today is based upon PostgREST. PostgREST is a thin layer similar to OData that sits on top of your web server allowing you to transmit basic queries that are executed towards your database. It suffers from the same “business logic injection attack” problems as GraphQL, and simply moves the burden of implementing business logic to the client, solving few problems really.
  • Nocodb: Turns Any MySQL, Postgres, SQLite into a Spreadsheet with REST APIs
    6 projects | news.ycombinator.com | 4 Oct 2022
    Similarly for Postgres, but without the spreadsheet part: https://github.com/PostgREST/postgrest
  • What is your preferred low-code framework for building REST API?
    5 projects | reddit.com/r/selfhosted | 26 Sep 2022
    depends, but I'd consider postgREST
  • Announcing pGenie: Generate typesafe Haskell from plain SQL for Postgres
    5 projects | reddit.com/r/haskell | 24 Aug 2022
    It must be mentioned that some applications do truly need dynamic statements. Typically such applications control the structure of the DB and change it dynamically too. One example is PostgREST. Most of applications deal with a statically structured database though and hence don't need dynamic statements.

Hasura

Posts with mentions or reviews of Hasura. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-28.

What are some alternatives?

When comparing postgrest and Hasura you can also consider the following projects:

supabase - The open source Firebase alternative. Follow to stay updated about our public Beta.

Kong - 🦍 The Cloud-Native API Gateway

postgraphile - Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!

Neo4j - Graphs for Everyone

KrakenD - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

express-graphql - Create a GraphQL HTTP server with Express.

faunadb-js - Javascript driver for FaunaDB

nhost - The Open Source Firebase Alternative with GraphQL.

DreamFactory - DreamFactory API Management Platform

ksuid - K-Sortable Globally Unique IDs

postgres-websockets - PostgreSQL + Websockets