Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
1–8 of 8 posts
Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#2Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#3Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#4Yes, that is the best time to build a GraphQL API. It will save you many hours later. Like it or not, eventually if you are building a mobile app, you will move to GraphQL eventually. It's a massive pain to do it when you have everything running. GraphQL will save you from embarrassing errors on the client and improve performance for sure. My recommendation is — Build API and expose them using REST or GRPC. Use a sol…
Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#5But it shines only for the frontend. It is a nightmare on the backend to implement efficiently.
Then, you have Hasura, which will compile the GraphQL request into an SQL request. Hasura provides a REST-like schema with GraphQL syntax. At that point, just stick with REST.
Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#6Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#7Yes, that is the best time to build a GraphQL API. It will save you many hours later. Like it or not, eventually if you are building a mobile app, you will move to GraphQL eventually. It's a massive pain to do it when you have everything running. GraphQL will save you from embarrassing errors on the client and improve performance for sure. My recommendation is — Build API and expose them using REST or GRPC. Use a sol…
At least put a disclaimer that it's YOUR SaaS you're recommending.
Disclaimer: I am not promoting it, I am just stating facts :)
Re: Ask HN: Would anyone recommend GraphQL over REST for teams just starting up?
#8Earlier quoted context omitted.
At least put a disclaimer that it's YOUR SaaS you're recommending.
It's open source and free. Use it if you like what it offers. Disclaimer: I am not promoting it, I am just stating facts :)