Main entry point to the backend and database All requests will go through this and depending on type of request a different query will be carried out This post receives source,operationName,variableValues, and contextValue as parameters. Each of these parameters need to be in a particular format, and the client side will format them from given input.
param source is the query itself, what user is looking for
param operationName indicates which query will take place; which functions will be carried out
param variableValues are values required for certain queries; e.g. specify paritcular health descriptor
param contextValue is a custom object that specifies the user trying to access the data
Generated using TypeDoc
Node Js Express server that will handle the backend work for our service. The primary functionality is to recive a graphql post request and query the blockchain using graphql. The post function will pass on the request to 'graphql' which will carry out obtaining and rendering the query.