导语:无论您的应用程序有多大或多小,您都必须在某个时间处理从远程服务器获取数据。在前端,这通常涉及到一个 REST 端点,转换响应,缓存它,并更新您的用户界面。多年来,REST 一直是 API 的现状,但自 2017 年伊始,由于出色的开发人员经验和对数据获取的声明式方法,一种名为 GraphQL 的新 API 技术已经大行其道。
GraphQL 既是一种用于 API 的查询语言也是一个满足你数据查询的运行时。 GraphQL 对你的 API 中的数据提供了一套易于理解的完整描述,使得客户端能够准确地获得它需要的数据,而且没有任何冗余,也让 API 更容易地随着时间推移而演进,还能用于构建强大的开发者工具。
- GraphQL: 一种用于 API 的查询语言
- Github facebook/GraphQL
- Introducing the GraphQL Guide: jQuery 的作者 John Resig 出新书《GraphQL 指南》
- A Front End Developer’s Guide to GraphQL
- The future of state management
- awesome-graphql: Awesome list of GraphQL & Relay
- ardatan/graphql-tools: 🔧 Build, mock, and stitch a GraphQL schema using the schema language
- imolorhe/altair: ✨⚡️ A beautiful feature-rich GraphQL Client for all platforms. https://altair.sirmuel.design
- graphql-engine: Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control https://hasura.io
- graphpack: ☄️ A minimalistic zero-config GraphQL server.
- quicktype: Generate types and converters from JSON, Schema, and GraphQL https://app.quicktype.io/
- graphql-engine: Blazing fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events. https://hasura.io
- maticzav/graphql-shield: 🛡 A GraphQL tool to ease the creation of permission layer.
- graphql-editor/graphql-zeus: GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native
- kamilkisiela/graphql-config: One configuration for all your GraphQL tools (supported by most tools, editors & IDEs) https://graphql-config.com
- quicktype/quicktype: Generate types and converters from JSON, Schema, and GraphQL
- samdenty/gqless: A GraphQL client without queries ✨
- mswjs/msw: Seamless REST/GraphQL API mocking library for browser and Node.
- prisma-labs/graphql-request: Minimal GraphQL client supporting Node and browsers for scripts or simple apps
- graphql-code-generator: GraphQL code generator with flexible support for custom plugins and templates https://graphql-code-generator.com
- graphql-js: A reference implementation of GraphQL for JavaScript http://graphql.org/graphql-js/
- banterfm/graphql-crunch: Reduces the size of GraphQL responses by consolidating duplicate values
- graphql/graphql-js: A reference implementation of GraphQL for JavaScript http://graphql.org/graphql-js/
- Canner/canner: 📡 Universal CMS framework using React & Apollo GraphQL for Firebase, Prisma, GraphQL, Restful API https://www.canner.io
- nearform/graphql-hooks: 🎣 Minimal hooks-first GraphQL client
- gqless/gqless: A GraphQL client without queries ✨
- VulcanJS/Vulcan: 🌋 A toolkit to quickly build apps with React, GraphQL & Meteor