0

How to use graphql engine + graphql server express?

I'm confused with how to use engine but do I use engine + server or does engine replace the server?

28th Aug 2018, 1:45 PM
Valeshan
Valeshan - avatar
1 Resposta
+ 2
GraphQL defines or provides query language for fetching data from a single endpoint on your server. To make this work : 1. GraphQL schema and resolve functions that will accept request and send back response needs to sit on the server side. Hence the GraphQL Server alternatively GraphQL Engine. 2. Since GraphQL is not opinionated, it could sit as a standalone server at the backend or coupled with other server libraries like Express Server. 3. Now to be able to send and receive data from the GraphQL Server, one needs a GraphQL Client to make requests like Apollo Client or Relay. Hope it helps, happy Coding!
26th Jan 2019, 1:23 AM
Benneth Yankey
Benneth Yankey - avatar