Code Monkey home page Code Monkey logo

graphql-examples's Introduction

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。

graphql-examples's People

Contributors

jonirrings avatar zhnd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

graphql-examples's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.