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 exportingDATABASE_URL
in your shell
Installing
In project root directory
- Run
pipenv install
- Run
pipenv shell
- 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
- Me marek2901
License
This project is licensed under the MIT License