Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

a-y-khan/graphene_flask_example

Repository files navigation

graphene_flask_example

Graphene/Flask example for Big Mountain Data & Dev 2019 (talk code examples are saved in branch big_mountain_2019). Slides are available on SlideShare.

Python version

Code was tested with Python 3.7.11.

Build and run

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.

Testing

Sample tests are included.

pip install -r requirements/test_3.7.txt
python setup.py test

About

Graphene/Flask example code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages