Hello Team,
Can we invoke Magento Graphql queries from Node.js application? If yes can you please help with any reference or pseudo code around it.
Basically we are trying to build Adobe IO runtime Api Layer developed using Node.Js which acts as api Layer between magento and other systems.
Please help.
Hello @shashimulud6f7
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API.
Send a GraphQL query to your API and get exactly what you need, nothing more and nothing less. GraphQL queries always return predictable results.
You must be familiar with Rest and SOAP Api's, here is a really good explanation about GraphQL :
https://amasty.com/blog/magento-2-api-updates-graphql/
You just need to send request like Rest API call, please read this article that how you can use graphQL in Node and Express :
https://shopify.dev/tutorials/graphql-with-node-and-express
Hope it helps ! Good luck for your project !