This repository contains the class files demonstrating how to add a GraphQL API to an Episerver Commerce webshop. The code is implemented based on Episerver's Quicksilver sample site. The code is explained in this blog post.
To try out the demonstration code:
- Copy the files into a working Episerver Quicksilver sample site solution.
- Include those files in the Visual Studio project.
- Add the NuGet package, GraphQL.
- Then build and run.
To test queries you will need a GraphQL query tool, like GraphiQL or Postman. Then run a query from one of the Gists from this collection.