deno.land / x / opine@2.3.4 / examples / graphql
Example of how to use Opine with gql for a simple GraphQL server.
deno run --allow-net --allow-read ./examples/graphql/index.ts
if have the repo cloned locally OR
deno run --allow-net --allow-read https://raw.githubusercontent.com/cmorten/opine/main/examples/graphql/index.ts
if you don't!
Then try:
{
hello
}
{
"data": {
"hello": "Hello World!"
}
}
Version Info