• Stars
    star
    115
  • Rank 304,164 (Top 7 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

⚗️Project template to build a GraphQL API in Python

Remark: Although Graphene is pretty cool, do yourself a favor and check the following tutorial instead of this repository. It allows to generate a feature complete GraphQL API from a PostgreSQL database... in minutes (almost). You'll thank me later: Docker-PostgreSQL-PostGraphile

Flask-Graphene-SQLAlchemy

The purpose of this repository is to provide a project template to build a GraphQL API in Python. Its content has been largely inspired by the references below but code has been modified and enriched to provide a more complete API and a more scalable architecture.

Tutorial

The Github Wiki provides detailed design intentions in a step by step tutorial.

References

Requirements

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:

$ pip3 install -r requirements.txt

The following Python packages will be installed:

Run Test Cases

To execute all test cases, change directory to the project root folder and execute the following command:

$ nose2 -v