这个可以帮助我们快速建造一个网站,其特点是graphql,不需要服务端,开发快、性能好,前端人员大爱
mkdir graphqljscd graphqljsnpm initnpm install --save graphqltouch hello.js编辑hello.jsvar { graphql, buildSchema} = require('graphql');var schema = b...
const DB = require('../model/db.js');const { GraphQLObjectType, GraphQLString, GraphQLInt, GraphQLList, GraphQLSchema, GraphQLID, ...