This is cool, although these days, (if requirements permit), my choice would be GraphQL via something like PostGraphile. https://github.com/graphile/postgraphile
https://github.com/PostgREST/postgrest (Haskell) is an order of magnitude more performant than postgraphile (Node ~ aka wet noodles).
Show HN: Quickly generate REST API (for Postgres db)
11–19 of 19 posts
Re: Show HN: Quickly generate REST API (for Postgres db)
#12This is cool, although these days, (if requirements permit), my choice would be GraphQL via something like PostGraphile. https://github.com/graphile/postgraphile
https://github.com/PostgREST/postgrest (Haskell) is an order of magnitude more performant than postgraphile (Node ~ aka wet noodles).
It has been months, and I keep discovering possibilities and functionality :)
Re: Show HN: Quickly generate REST API (for Postgres db)
#13This is cool, although these days, (if requirements permit), my choice would be GraphQL via something like PostGraphile. https://github.com/graphile/postgraphile
Mind if I ask the reason why you’d pick GraphQL as the default API technology?
Rest you have way more code to worry about, way more end points, you always have to figure which endpoint to send stuff too, and you usually have no control over how much data you're going to get back.. if you get back fifty fields, but only needed the email that's a lot of data that could interfere with performance.
Re: Show HN: Quickly generate REST API (for Postgres db)
#14Earlier quoted context omitted.
Mind if I ask the reason why you’d pick GraphQL as the default API technology?
I'd pick graphql ((I'm currently Using Hasura) because you can combine api's local and remote into one. You can also only ever worry about one endpoint and there are a lot of tools to create all the graphQL straight from the db : Postgraphile / Hasura are two that come to mind. Prisma is a little different but makes graphql easier. Rest you have way more code to worry about, way more end points, you always have to fi…
Re: Show HN: Quickly generate REST API (for Postgres db)
#15This is cool, although these days, (if requirements permit), my choice would be GraphQL via something like PostGraphile. https://github.com/graphile/postgraphile
https://github.com/PostgREST/postgrest (Haskell) is an order of magnitude more performant than postgraphile (Node ~ aka wet noodles).
Re: Show HN: Quickly generate REST API (for Postgres db)
#16This is cool, although these days, (if requirements permit), my choice would be GraphQL via something like PostGraphile. https://github.com/graphile/postgraphile
Re: Show HN: Quickly generate REST API (for Postgres db)
#17Re: Show HN: Quickly generate REST API (for Postgres db)
#18Re: Show HN: Quickly generate REST API (for Postgres db)
#19This is cool, although these days, (if requirements permit), my choice would be GraphQL via something like PostGraphile. https://github.com/graphile/postgraphile
https://github.com/PostgREST/postgrest (Haskell) is an order of magnitude more performant than postgraphile (Node ~ aka wet noodles).