docker-compose up -d
- Pull up http://localhost:8080/console.
- Connect to the database using the connection string:
postgres://testuser:password@host.docker.internal:5432/sakila
- Choose which items to track or all items
- Go to the API tab
query {
actor {
first_name
last_name
}
}
To download a GraphQL schema:
npx get-graphql-schema https://swapi-graphql.netlify.app/.netlify/functions/index > swapi.graphql
NOTE: it might suggest using graphql-cli, but it did not work. The docs have all changed recently and it fails with this issue.