graphql-mongo-demo:graphql-mongo演示,使用graphql-yoga框架

时间:2024-05-21 17:44:58
【文件属性】:

文件名称:graphql-mongo-demo:graphql-mongo演示,使用graphql-yoga框架

文件大小:44KB

文件格式:ZIP

更新时间:2024-05-21 17:44:58

JavaScript

graphql-mongo-demo A GraphQL Node Server based on mongoose, graphql-yoga using es6 Get Started Clone this repo git clone https://github.com/gaohuifeng/graphql-mongo-demo.git cd into the project cd graphql-mongo-demo npm install npm start Open Run the sample query branch: feature/dataloader, use dataloader solve n+1 problem query { articles(page: 1, size: 10) { id text isPublished


【文件预览】:
graphql-mongo-demo-master
----package.json(567B)
----package-lock.json(147KB)
----src()
--------typeDefs()
--------db()
--------resolvers()
--------app.js(221B)
----docker-compose.yml(192B)
----.gitignore(31B)
----README.md(7KB)
----quick-start.js(1KB)

网友评论