Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbrsagor/djangographql
Django GraphQL backend server
https://github.com/mbrsagor/djangographql
django django-graphql django-graphql-jwt graphql
Last synced: 1 day ago
JSON representation
Django GraphQL backend server
- Host: GitHub
- URL: https://github.com/mbrsagor/djangographql
- Owner: mbrsagor
- Created: 2019-02-05T18:16:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T13:52:16.000Z (9 months ago)
- Last Synced: 2024-03-03T14:45:26.521Z (9 months ago)
- Topics: django, django-graphql, django-graphql-jwt, graphql
- Language: Python
- Homepage:
- Size: 10.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# djangoGraphQL
> GraphQl backend web application### Installing Geospatial libraries
#### Dependency
- Python 3.8.5
- Django 3.1.5
- Postgres 12.3The following steps will walk you thru installation on a Mac. Linux should be similar. It's also possible to develop on a Windows machine, but I have not documented the steps. If you've developed `Homework` backend `API` app on Windows, you should have little problem getting up and running.
#### Run the project in your local development environment.
```
git clone https://github.com/mbrsagor/djangoGraphQL.git
cd djangoGraphQL
virtualenv venv --python=python3.8
source venv/bin/activate
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
```##### Example of GraphQL demo:-
- Query:
```python
query{
users{
edges{
node{
username
}
}
}
}
```###### Install packages:
- https://pypi.org/project/graphene-django
- https://pypi.org/project/django-graphql-jwt
- https://pypi.org/project/django-graphql-auth