Skip to content

mddemarie/graphql-django-python-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL & Django experiment

I will follow the Graphene documentation and experiment with GraphQL integration into Django project.

You can find the source of my knowledge here: http://docs.graphene-python.org/en/latest/ and here: http://docs.graphene-python.org/projects/django/en/latest/

Skipping the chapter about Relay.

The more information is coming soon!

SETUP

I assume you already installed Python 3.4 or higher and pip.

Virtual Environment

Install virtualenv via pip:

$ pip install virtualenv

Create a virtual environment for a project:

$ cd this-project
$ virtualenv venv

To use the virtual environment, you can activate it with:

$ source venv/bin/activate

Installation

Install the project packages including Django:

(venv) $ pip install -r requirements.txt
On Mac

Install GraphiQL - GUI for editing and testing GraphQL queries and mutations:

brew cask install graphiql

Releases

No releases published

Packages

No packages published

Languages