Graphene/Flask example for Big Mountain Data & Dev 2019 (talk code examples are saved in branch big_mountain_2019). Slides are available on SlideShare.
Code was tested with Python 3.7.11.
In a venv, virtualenv or conda environment:
pip install -r requirements/main_3.7.txt
python app.py
Explore data using the GraphiQL IDE by opening 0.0.0.0:5001 in a browser.
Sample queries and mutations are saved in sample-queries.txt
.
Sample tests are included.
pip install -r requirements/test_3.7.txt
python setup.py test