@abtnode/gql 中文文档教程
ABT Node GQL Server
API层建立在ABT节点的核心状态管理库之上,配合express使用。
Usage
yarn add @abtnode/gql
然后:
const express = require('express');
const gql = require('@abtnode/gql');
const app = express();
app.use('/api/gql', gql(node));
ABT Node GQL Server
API Layer built on the core state management library of ABT Node, works with express.
Usage
yarn add @abtnode/gql
Then:
const express = require('express');
const gql = require('@abtnode/gql');
const app = express();
app.use('/api/gql', gql(node));