Adding this GraphQL endpoint will consist of the following:
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 various data stores easier. Luckily for us, one of the add-on libraries is Graphene-SQLAlchemy, which will work with our own...