GraphpostgresQL: A GraphQL Extension for PostgreSQL

Author: laurenceisla

Score: 58

Comments: 3

Date: 2021-12-03 16:54:03

Web Link

________________________________________________________________________________

rgbrgb wrote at 2021-12-03 18:20:25:

This is cool but sadly looks abandoned.

Here's an active project that does something similar (introspects your postgres schema and runs a graphql API on top):

https://github.com/graphile/postgraphile

Prisma is also interesting (but pulls more logic out of the DB).

My question with this type of logic-in-the-DB framework is how people are managing schema migrations and what infra they're running on as it's clearly a little less charted than, for instance, deploying a rails app (what I know). I really like the DRYness of writing the schema in one place and having that flow automatically into strongly typed models, API, etc with correct auth logix. This always seems like too much boilerplate with ActiveRecord and controllers.

purge wrote at 2021-12-03 20:55:20:

I love postgraphile and the graphile toolkit (worker and migrate are best in class imho).

netcraft wrote at 2021-12-03 18:40:47:

relevant comment from the author on the other graphql for pg thread today:

https://news.ycombinator.com/item?id=29432666