along with frontend react, we have graphql client bonded.
Which will send requests and parse response from graphql server.
graphql clients,ordered from simple to complex:
1. lokka --basic queries
2. apollo client -- balance between features and complexity
3. relay -- mobile performance is good but most complex
The above queries will run in front end, as they are client side tools.
For, server side also to execute graphql queries.
express-graphql --> this is the one we are using in our previous posts also
you can use apollo server also as an alternative.
in apollo server, we use Types file instead of Schemas file in express-graphql, and a separate Resolvers file.
No comments:
Post a Comment