HN Hall of Fame Weekly email

PostgREST – REST API from any PostgreSQL database

github.com Software & code Software projects Software engineering Candidate
Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
4
submitters
4
observed span
2014–2017
peak thread · 204 comments
486 pts
latest 20+ return · 2017-03-26
179 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Contrary to many other "expose a RDBMS schema as an API" solutions, this one is interesting due to its very close tie-in with postgres. It even uses postgres users for authorization and it relies on the postgres stats collector for caching headers. I also very much liked the idea of using `Range` headers for pagination (which should be out-of-band but rarely is). I'm not convinced that this is the future of web development, but it's a nice refreshing view that…

pilif·486-point thread·

Creating an API directly on top of your database schema brings the problem of impedance mismatch in all the client applications built directly on top of your new API. However, if you create an Endpoint (Objects) based RESTful API on top of your database schema and then use this new API in all your client's applications, you will have the problem of impedance mismatch in only 1 application: your REST API. For more information related to impedance mismatch…

Note for the submitter that "Show HN" is generally for things you yourself have made – see [0]. On the other hand, thanks for submitting; this is a great project and it deserves attention. Postgrest is a great example of a real-world Haskell codebase. It's concise for the amount of functionality it offers, which is characteristic of functional languages (<3000SLOC of source, not counting tests). I'd encourage anyone interested in working with non-toy functional codebases to take a look around…

kornish·179-point thread·

This one looks superior to previous attempts in that you can write to the db, not just read.

elchief·18-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
880

reference only — not used in Hall rules or ranking

Total comments
360

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-12-31PostgREST: REST API for Any Postgres Databasethu181
2015-01-03Automatic REST API for Any Postgres DatabaseFirst breakoutbegriffs19768
2015-07-22PostgREST – REST API from any PostgreSQL databaseBest threadcdjk486204
2017-03-26PostgREST – A fully RESTful API from any existing PostgreSQL databaseLatest 20+ point returndeveloperon2917987