Skip to content
项目

关于

用于构建可扩展、可投入生产的 GraphQL 服务器的样板代码

学习与教育

这些数字如何统计

可以做什么

  • 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.

实测星标增长

24小时
-1
7天
-1
15天
-3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…