2 ms·
In my experience it's a lot easier to write performant, scaleable, and secure GraphQL API's than REST API's. Rest is a constant struggle between complexity, fu
by nickk314 6y ago
In my experience it's a lot easier to write performant, scaleable, and secure GraphQL API's than REST API's.
Rest is a constant struggle between complexity, functionality and authorisation.
The more flexible a REST API becomes, the more it becomes like GraphQL minus the standardisation.
I wrote a blog [1] on writing GraphQL API's in TypeScript. It focuses particularly on authorisation and relations.
[1] https://dev.to/nickkelly314/writing-a-graphql-typescript-server-in-nodejs-1n7e https://dev.to/nickkelly314/writing-a-graphql-typescript-ser...