- API: https://897qfp0jei.execute-api.us-east-1.amazonaws.com/dev/graphql
- Admin: https://897qfp0jei.execute-api.us-east-1.amazonaws.com/dev/admin/
FLASK_APP=orka_api.app poetry run flask run- goto http://127.0.0.1:5000/graphql
- You can view the graphql schema here
- You can view the query data used to generate tests here
- You can view the api documentation here
I recommend the Insomnia App for GraphQL: https://insomnia.rest/, you can import the api requests using the Orka API Context for Insomnia. The only thing lacking is schema documentation, for that I recommend using the graphqli interface @ https://897qfp0jei.execute-api.us-east-1.amazonaws.com/dev/graphql
This package depends on specific bugfixes I've applied to the graphene and graphql-core packages, I've bumped the versions of these packages to prioritize their installation when the dependency graph is generated.
These commands also work on aws lambda if you invoke them as manage.<command>
This API is deployed to AWS using zappa
zappa deploy devzappa update devzappa invoke dev manage.<command>zappa tail devpoetry run python3 manage.py init_dbpoetry run python3 manage.py clear_dbTo run tests:
poetry run python3 -m pytest testsTo generate graphql tests configured using yaml, run:
poetry run python3 scripts/gen_graphene_tests.py <operation> <path-to-data.yaml>Operation can be: query, mutation, etc