Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/praneethkarnena/django-graphql-cms

A very simple Post & Comment system which is developed to demonstrate the basic usage of GraphQL in Django.
https://github.com/praneethkarnena/django-graphql-cms

api api-server django django-framework graphql python python3

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.