Hacker News new | ask | show | jobs
by nivertech 2788 days ago
The only intelligent answer to under-specified question is "it depends".

If you want to decouple frontend development from backend development then go GraphQL route. For example i you have multiple different consumers for your backend, i.e. an SPA, a mobile app and a 3rd party API endpoint. Wuth REST you will have to write and maintain 3 different endpoints vs only one with GraphQL.