Apollo graphql + playground + your resolvers and schema
7.8K
$ docker run -d -p 4000:4000 imega/graphql-playground:latest
query getBooks {
books {
title
author
}
}
{
"data": {
"books": [
{
"title": "Harry Potter and the Chamber of Secrets",
"author": "J.K. Rowling"
},
{
"title": "Jurassic Park",
"author": "Michael Crichton"
}
]
}
}
$ docker run -d -p 4000:4000 \
-v path/to/my/resolvers:/app/resolvers \
-v path/to/my/schema:/app/schema \
imega/graphql-playground:latest
docker-compose.yml
version: "3.3"
services:
app:
image: imega/graphql-playground:latest
volumes:
- ./resolvers:/app/resolvers
- ./schema:/app/schema
ports:
- 4000:4000
Content type
Image
Digest
Size
67.4 MB
Last updated
over 5 years ago
docker pull imega/graphql-playground