Metadata-Version: 2.1
Name: graphene-django-framework
Version: 0.7.1
Summary: A framework for using GraphQL with Django.
Home-page: https://gitlab.com/hybridlogic/graphene-django-framework/
Author: Kevin Clark
Author-email: UNKNOWN
License: Apache Software License
Keywords: django,graphene,graphql,relay
Platform: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7

graphene-django-framework
=========================

Don’t want to use Relay with Graphene? You are not alone. All other
packages for django implement the Relay interface. 😞

`Graphene-Django <https://github.com/graphql-python/graphene-django>`__
adds the ability to filter and paginate but you must follow the Relay
specification which requires the use of Nodes, Edges, Connections, and
Global IDs.

Apollo is a great GraphQL client and can still be used with Relay but
has its downsides.

Install
-------

::

   pip install graphene-django-framework

Hacking
-------

You must have docker and docker-compose

::

   # setup the docker env with your uid and gid
   echo -e "UID=$(id -u)\nGID=$(id -g)" > .env

   # first migrate the database
   docker-compose run web python manage.py migrate

   # create a superuser to login with
   docker-compose run web python manage.py createsuperuser

   # run the server
   docker-compose run web python manage.py runserver
   # or tests
   docker-compose run web python manage.py test


