当前位置: 首页 > 软件库 > 大数据 > 数据查询 >

node-graphql-server

授权协议 Readme
开发语言 Java
所属分类 大数据、 数据查询
软件类型 开源软件
地区 不详
投 递 者 高德水
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

GraphQL Server Boilerplates for Node.js


Bootstrap your GraphQL server within seconds
GraphQL boilerplates provide the perfect foundation for your GraphQL server, no matter if you're just getting started with GraphQL or aim to build a fully-fledged application.

Deprecation note

This repository has been deprecated and is currently unmaintained. You can find up-to-date examples for building GraphQL servers with a database here.

Features

  • Rapid scaffolding: Simply use graphql create (from the GraphQL CLI) to download the boilerplate you want.
  • Easily extensible: A boilerplate only provides the minimum setup so you can tailor the API to your use case.
  • Best practices: Each boilerplate incorporates best practices from the GraphQL community.

For a fully-fledged GraphQL & Node.js tutorial, visit How to GraphQL. You can more learn about the idea behind GraphQL boilerplates here.

Quickstart

Select a boilerplate and follow the instructions in the belonging README to get started:

  • minimal: Minimal boilerplate with basic "Hello World" functionality
  • basic: Basic boilerplate based on a simple data model and with a GraphQL database
  • advanced: Advanced boilerplate with a GraphQL database, authentication and realtime subscriptions

All projects are based on graphql-yoga, a fully-featured GraphQL server library with focus on easy setup, performance & great developer experience.

Contributing

The GraphQL boilerplates are maintained by the GraphQL community, with official support from the Apollo & Prisma / Graphcool teams.

Your feedback is very helpful, please share your opinion and thoughts! If you have any questions or want to contribute yourself, join the #graphql-boilerplate channel on our Slack.

 相关资料
  • NodeJs + MongoDB + GraphQL Starter A boilerplate for Node.js, MongoDB & GraphQL applications. �� ES6 code I started this project to simplify and make it ease of use. I also tried to make it as generic

  • 我正在使用gatsby的“gatsby source prismic graphql”插件将我的prismic repo与一个组件连接起来,并将博客帖子数据显示为一张卡片。该查询在GraphiQL中运行良好,但当我将GraphQL查询实现到组件中时,Gatsby无法识别查询中的“Prismic”。 我尝试过显示其他数据,如站点元数据,这是没有问题的 以下是Git回购协议:https://githu

  • 这是一个 GraphQL 服务器,支持 Express, Connect, Hapi 和 Koa 示例代码: Express: import express from 'express';import bodyParser from 'body-parser';import { graphqlExpress } from 'graphql-server-express';const myGraph

  • 快速开始 GraphQL 是一种用于 API 的查询语言。这是 GraphQL 和 REST 之间一个很好的比较 (译者注: GraphQL 替代 REST 是必然趋势)。在这组文章中, 我们不会解释什幺是 GraphQL, 而是演示如何使用 @nestjs/GraphQL 模块。 GraphQLModule 只不过是 Apollo 服务器的包装器。我们没有造轮子, 而是提供一个现成的模块, 这让

  • GraphQL 既是一种用于 API 的查询语言也是一个满足你数据查询的运行时。 GraphQL 对你的 API 中的数据提供了一套易于理解的完整描述,使得客户端能够准确地获得它需要的数据,而且没有任何冗余,也让 API 更容易地随着时间推移而演进,还能用于构建强大的开发者工具。 向你的 API 发出一个 GraphQL 请求就能准确获得你想要的数据,不多不少。 GraphQL 查询总是返回可预测

  • GraphQL + MongoDB express server (in Typescript) This is just a starter example on how to build a GraphQL server with MongoDB database in Typescript. The advanage of this solution is a strong type che