Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 471 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 471 Bytes

Demo 9

Introduction to docker-compose

Use docker-compose to build a GraphQL API and start a MongoDB container.

Note: Make sure to execute the below commands in the demo directory.

docker-compose up -d
curl -s 'http://localhost/' -X POST -H 'content-type: application/json' --data '{ "query": "{ teams { name members department } }" }' | jq
docker-compose down

Navigation