/django-graphene

Testing out the django-graphene.

Primary LanguagePython

Django graphene test

My first attempt to grasp the GraphQL concept

Prerequisites

  • Project dependencies are managed with pipenv. Please refer to official documentation for installation instructions.
  • App uses postgresql. The default db setup you can find in .env file. It is python-dotenv file so you can always override it exporting DATABASE_URL in your shell

Installing

In project root directory

  1. Run pipenv install
  2. Run pipenv shell
  3. cd into testgraphane

Running the tests

Completing the steps from above, run ./manage.py runserver 0.0.0.0:808.

Now you can access http://0.0.0.0:8080/graphql/. It'll show up visual GraphQL playground when you can perform queries.

Built With

Contributing

Any feedback appreciated.

Authors

License

This project is licensed under the MIT License