Skip to content
Alexis ROLLAND edited this page Jan 31, 2018 · 67 revisions

Flask Graphene SQLAlchemy Tutorial

Welcome to this tutorial. Its objective is to describe step by step how to create a GraphQL API using Python and more specifically the following packages:

The API will expose data coming from an SQLite database stored locally on your machine and the end result will follow the logical architecture described in the schema below:

Architecture

Workstation set-up

This project has been developed on Linux Ubuntu with Python 3.5. It is using the following third party packages. To install them, open a terminal window, change directory to the project folder and execute the following command:

$ cd flask-graphene-sqlalchemy
$ pip3 install -r requirements.txt

The following Python packages will be installed:

Create the database

Data model