Adding this GraphQL endpoint will consist of the following:
- Adding a new entry point to handle the new Lambda function
- Passing the HTTP payload (which is a GraphQL query or mutation) to a function that will execute GraphQL code
Admittedly, GraphQL is new enough that libraries and the ecosystem are not entirely polished or rich with documentation, at least in my experience. Still, it's possible to make quick progress, and once the basics are solved, GraphQL by its nature enables a vast range of functionality.
Since the coffee cupping example application is implemented using Python, we will continue down that path and augment it with some additional libraries for GraphQL. At the time of writing, Graphene is the de facto library for working with GraphQL from Python. Along with the base library, there are several other libraries that make working with...