3 ms·
I've been using both hasura and postgraphile on my projects recently. The main reason is that I'm so fed up with building crud controllers for simple APIs. Both
by vood 5y ago
I've been using both hasura and postgraphile on my projects recently. The main reason is that I'm so fed up with building crud controllers for simple APIs. Both hasura and postgraphile do the job.
If I were to compare these projects:
Hasura seems like a very well built and maintained project overall. With great documentation and easy to understand deployment process. I haven't hit any bottlenecks yet. I especially like the extensibility features such as webhooks. One major drawback for me is the language it is written in - haskell. Extending, patching, debugging will be hard in the future. I'm not even talking about hiring someone who knows haskell.
Postgraphile on the other hand is build on a more popular stack, but a less polished product in my opinion. Still does the job.
Also, for both hasura and postgraphile, I would like to see these projects support serverless deployments (aws lambda) out of the box. Is this something on your radar?
- giovannibonetti 5y agoDocker containers are a valid Serverless option nowadays. There are services like Cloud Run which work very well with them and usually are not hard to set up.
- Zababa 5y ago> Extending, patching, debugging will be hard in the future. I'm not even talking about hiring someone who knows haskell. If your concerns are not about hiring someone that knows Haskell, what are they about? Sorry if the tone appears combative or accusative, this is a genuine question and I don't know how to put it another way. From my understanding hiring for Haskell is hard but the language itself is often praised. Maybe a lack of libraries?
- cies 5y agoI prefer a strong-typed, compiled language for an internet exposed service any day over a dyn typed, interpreted language. See how many remote exploits are due to languages allowing "eval(..)" or allowing disk access. Also: Postgres is in C mostly, not a very hackable language, though no-body complains because it is infra. To me Hasura is the same: infra. The code I write on top of PG/Hasura is in Elm and runs directly in the browser (as transpiled JS).