A very simple Post & Comment system which is developed to demonstrate the basic usage of GraphQL in Django.
git clone https://github.com/PraneethKarnena/django-graphql-cms.git
cd django-graphql-cms
- Rename
.sample_env
to.env
and add appropriate values pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- Queries:
post
,posts
andcomments
- Mutations:
createPost
,updatePost
,createComment
anddeleteComment
Sample GraphQL queries/mutations can be found in the graphiql_samples.txt
file.