I wanted to create a simple minimal starter utilizing SQLAlchemy, Sanic, and GraphQL.
To run install the requirements.txt
pip install -r requirements.txt
then run the application by running app.py
python app.py
Execute the docker compose file by doing the following:
docker-compose -f docker-compose.yml build sanicgql
docker-compose -f docker-compose.yml run --service-ports sanicgql
Then visit the URL below in your browser to access the graphql explorer
http://localhost:8080/graphql
Upon running the application you'll be able to access the URL of GRAPHIQL at http://localhost:8080/graphql
you'll need to add something or else you'll have empty query
query{
user
}
WIP