Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
graph fix: pinned version of graphql-core and fixed typo in tests Oct 24, 2019
ui Fix graphql demo Oct 18, 2019
Makefile Fix graphql demo Oct 18, 2019
README.md Fix graphql demo Oct 18, 2019
__init__.py
docker-compose.yaml Fix graphql demo Oct 18, 2019
mypy.ini Fix graphql demo Oct 18, 2019
prepare_database.py fix: fixed version of graphene and corrected prepare data function Oct 24, 2019
requirements-dev.txt Fix graphql demo Oct 18, 2019
setup.py fix: pinned version of graphql-core and fixed typo in tests Oct 24, 2019

README.md

GraphQl Messenger

The simple realization of GraphQl api.

  • query
  • mutations
  • subscriptions

Image of Application

Install requirements:

$ cd graphql-demo
$ pip install -r requirements-dev.txt
$ pip install -e .

Run application:

$ make start_database
$ make start_redis
$ make prepare_database
$ make

Open in browser:

$ open http://0.0.0.0:8080/
$ open http://0.0.0.0:8080/graphiql

Others

make test # running tests
make lint # running the flake8
make mypy # running the types checking by mypy

Requirements

  • aiohttp
  • aiopg
  • aioredis
  • graphene
You can’t perform that action at this time.