https://github.com/dukebody/graphql-python-meetup
Example demo project for GraphQL talk at Barcelona Python Meetup
https://github.com/dukebody/graphql-python-meetup
graphene graphql python
Last synced: 6 months ago
JSON representation
Example demo project for GraphQL talk at Barcelona Python Meetup
- Host: GitHub
- URL: https://github.com/dukebody/graphql-python-meetup
- Owner: dukebody
- Created: 2017-02-14T20:29:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-17T06:27:39.000Z (over 8 years ago)
- Last Synced: 2025-02-08T15:48:04.244Z (8 months ago)
- Topics: graphene, graphql, python
- Language: Python
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# graphql-python-meetup
Example demo project for GraphQL talk at Barcelona Python MeetupContains two apps: One with Django models and a second one without.
Install instructions:
* Create a Python virtual environment
* Install requirements: `pip install -r requirements.txt`## plain - without Django models
This app takes the data from a dictionary. To run it just do:
```
python app.py runserver
```
And visit http://localhost:8000/graphql/ in your browser.## djproject - with Django models
* `python manage.py migrate`
* `python manage.py createsuperuser`
* `python manage.py runserver`
* Go to http://localhost:8000/admin, use the credentials you just generated and create some Products, Reviews and/or Users