This project introduces the important concepts and usage of GraphQL
and apollo
, as well as some typical issues such as pagination
and N+1 query
.
If you are looking for tutorial for apollographql version 2.x, please see this repo
这个项目介绍了GraphQL
和apollo
的重要概念和用法, 包含一些典型例子:
nodejs server instances
下通过GCP pub/sub
进行消息通讯websocket
安全链接,基于jwt
的用户认证directive
,自定义directive
scalar
类型这些例子涵盖了GraphQL
, apollo-server
最常用,最重要的功能,欢迎交流。
npm i
to install dependenciestypescript
version to local version.vscode/launch.json
file, you will find how to launch program for each sample