Skip to content

GraphQL-China/graphql-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

About

本项目起因于QQ群讨论:为了方便初学者熟悉基础工具的用法而建立。

ignore

本项目顶级目录暂时不设置.gitignore文件,请在PR内附带对应example的.gitignore文件。

Schema

本项目通过最基本的CRUD展示GraphQL用法,假定为"博文+作者+评论"组成的博客场景,basic-schema.graphql文件仅作为参考,请自行按需拓展或者变更:

  1. 参考的schema的分页是根据relay增强规范设置的cursor-based,对于实施可能有些不便,你可以改做offset-based
  2. 添加updatedelete类的mutation
  3. 添加基本的鉴权功能

Structure

目录按照语言/平台/框架-库-特性来组织,例如js/backend/koa2-apollo-server-ssr

Contribute

如果你发现任何有问题,可发起PR进行修复。另希望在对应的example下写下README,陈述一下主要实现的内容。

PR将在得到两个及以上approval后merge。

About

multi-language and frameworks GraphQL examples of backend and frontend, with basic CRUD functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published