Skip to content

pranavneeraj/graphql_django_demo

Repository files navigation

Django/GraphQL integration using Graphene

Tested with Python (3.5 and 2.7.12) and the latest stable version for the following packages.

pip list:

  • Django (1.10.5)
  • django-filter (1.0.1)
  • django-graphiql (0.4.4)
  • graphene (1.1.3)
  • graphene-django (1.2.1)
  • graphql-core (1.0.1)
  • graphql-relay (0.4.5)

I strongly recommend using virtualenv and virtualenvwrapper

Installation Notes

Install the source

  • Clone or download this repository.
  • run pip install -r requirements.txt

Generate and run migration scripts

  • python manage.py makemigrations
  • python manage.py migrate

Load some test data into your data store

  • python manage.py loaddata courses

Run the application and test GraphQL

Check the tutorial

Part 1 - Integration and Basic Queries

Part 2 - Mutations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published