Skip to content

A very simple Post & Comment system which is developed to demonstrate the basic usage of GraphQL in Django.

Notifications You must be signed in to change notification settings

PraneethKarnena/django-graphql-cms

Repository files navigation

Django GraphQL CMS

A very simple Post & Comment system which is developed to demonstrate the basic usage of GraphQL in Django.

Run

  • 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

GraphQL

  • Queries: post, posts and comments
  • Mutations: createPost, updatePost, createComment and deleteComment

Sample GraphQL queries/mutations can be found in the graphiql_samples.txt file.

About

A very simple Post & Comment system which is developed to demonstrate the basic usage of GraphQL in Django.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages