Skip to content

samlet/flask-graphene-sqlalchemy

 
 

Repository files navigation

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.

主要修改的地方

  1. base.py中的数据库引擎
  2. 对created和edited字段的赋值处理
  3. 为了支持cockroachdb, 而对依赖库版本进行了更新

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

About

Project template to build a GraphQL API in Python (增加了cockroach数据库的支持)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%