postgrest VS swagger2

Compare postgrest vs swagger2 and see what are their differences.

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
postgrest swagger2
113 -
25,462 74
0.5% -
9.6 4.9
7 days ago about 2 months ago
Haskell Haskell
MIT License BSD 3-clause "New" or "Revised" License
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 2025-07-08.
  • Supabase MCP leaks your entire SQL Database, a lethal trifecta attack
    9 projects | news.ycombinator.com | 8 Jul 2025
    I think I know what you're talking about because I ran into this too. In defense of Supabase, you can still use transactions in other ways. Transactions through the client are messy and not easily supported by PostgREST.

    The GitHub issue here sums up the conversation about this:

    https://github.com/PostgREST/postgrest/issues/286

    So... your comment is a bit disingenuous. Regardless of Hacker News's thoughts on MCP servers, there is a cohort of users that are finding them to be immensely useful. Myself included.

  • Generate an OpenAPI From Your Database
    4 projects | dev.to | 27 Dec 2024
    This is especially helpful because Supabase uses PostegREST under the hood, which does not support OpenAPI 3.x. Note that some Postgres specific features like enums are not converted to JSON Schema enums as Sequelize doesn't expose that information.
  • Automatically Generate REST and GraphQL APIs From Your Database
    14 projects | dev.to | 19 Dec 2024
    PostgREST stands out as the leading solution for PostgreSQL databases. It turns your database directly into a RESTful API with minimal configuration. The tool automatically creates endpoints for tables and views, supports complex filters, and leverages PostgreSQL's row-level security for fine-grained access control. If you'd like to see this in action, check out our Neon PostgresQL sample.
  • Top FP technologies
    22 projects | dev.to | 29 Oct 2024
    PostgREST
  • What I Learned from Making the Python Back End for My New Webapp
    2 projects | news.ycombinator.com | 16 Oct 2024
    > I don't really see how the validation schema and ORM model would ever really diverge...

    If that were the case, then using a PostgreSQL API[0] that maps tables to APIs would be all that's required.

    However, the real world is messy. Requirements change, which could lead the project becoming a reimplementation of full framework such as Django.

    Django also comes with generic REST endpoints based on models thus giving you the magic, but still allows for all the different use cases and customizations that might present themselves during the full lifecycle of a project.

    [0]https://github.com/PostgREST/postgrest

  • PostgREST 12.2: Prometheus metrics
    1 project | dev.to | 29 Aug 2024
    PostgREST 12.2 is out! It comes with Observability and API improvements. In this post, we'll see what's new.
  • PostgREST – Serve a RESTful API from Any Postgre Database
    1 project | news.ycombinator.com | 25 Jul 2024
  • Supabase RLS Alternative
    3 projects | dev.to | 24 Jul 2024
    Supabase provides a RESTful API using PostgREST. However, without RLS, you will expose your database to the frontend. With the RLS policies created above, it’s safe to expose the API to the public because each user can only access the data allowed by the policy. For example, if you try to get all the List items using the API below, you will only receive the ones you are allowed to read by the read policy:
  • Advanced URL rewriting with Apache APISIX
    3 projects | dev.to | 18 Jul 2024
    I spoke at Swiss PgDay in Switzerland in late June. The talk was about how to create a no-code API with the famous PostgreSQL database, the related PostgREST, and Apache APISIX, of course. I already wrote about the idea in a previous post. However, I wanted to improve it, if only slightly.
  • Supabase versus Magic - You win!
    5 projects | dev.to | 7 Jul 2024
    Supabase was started as a thin deployment layer on top of PostgreSQL and PostgREST, which implies that understanding Supabase requires understanding PostgREST and PostgreSQL.

swagger2

Posts with mentions or reviews of swagger2. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning swagger2 yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

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

Hasura - Blazing fast, instant realtime GraphQL APIs on all your data with fine grained access control, also trigger webhooks on database events.

yesod-persistent - A RESTful Haskell web framework built on WAI.

supabase - The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

airship - Helium + Webmachine = Airship. A toolkit for building declarative, RESTful web apps.

TimescaleDB - A time-series database for high-performance real-time analytics packaged as a Postgres extension

graphql - Haskell GraphQL implementation

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

Did you know that Haskell is
the 25th most popular programming language
based on number of references?