Integration with Deno
Hive Gateway provides you a cross-platform GraphQL Server. So you can easily integrate it into any platform besides Node.js.
Hive Gateway provides you a cross-platform GraphQL Server. So you can easily integrate it into any
platform besides Node.js.
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
We will use @graphql-hive/gateway which has an agnostic HTTP handler using
Fetch API’s
Request and
Response objects.
Example
Create a deno.json file.
Learn more about import maps
Create a deno-hive-gateway.ts file:
And run it: