relay - Integrating RelayJS and Azure table storage -


the documentation on relayjs says relayjs can use node.js graphql server, not asp.net web service.

how can use relayjs asp.net web api end point?

how can use relayjs asp.net web api end point?

tl;dr;

by placing graphql server in-between relay client-side , asp.net web api end point.


the getting started page of relay documentation mentions 2 additional things needed use relay:

  1. a graphql schema: data model. need map asp.net web api graphql schema.
  2. a graphql server: client-side speaks server. in case, graphql server talk asp.net web api.

a example of graphql schema , server wrapping star wars api.


some conecptual clarifications question

  1. relay specification. it's called graphql relay specification. it's not restricted javascript. check awesome relay find list of languages relay libraries available.
  2. it helps think of relay , graphql 2 sides:
    • server-side consisting of graphql server, speaks schema. can receive queries , mutation requests. how prepare , provide requested data depend on back-end logic. example, may have own database, use directly fetch / prepare exposed data. or may use external api fetch / prepare data. there libraries in languages other javascript write graphql schema , server. check awesome graphql.
    • client-side using relay library, talks graphql server , fetches data needed.

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -