Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/praneethkarnena/django-graphql-cms
- Owner: PraneethKarnena
- Created: 2020-03-01T14:34:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:52:53.000Z (over 1 year ago)
- Last Synced: 2024-04-17T00:59:19.441Z (9 months ago)
- Topics: api, api-server, django, django-framework, graphql, python, python3
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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.