GraphQL
Query language for flexible APIs.
LanguageOpen source
Query language and specification for APIs where the client asks for exactly the fields it needs. Here, the JavaScript reference implementation.
When to use
When several clients need to ask for exactly the data they want, from different sources.
When to avoid
In simple APIs; the cost of schema, resolvers and caching usually doesn't pay off.
Alternatives
They do a similar job. Compare before choosing.
End-to-end typed APIs, no schema.
LibraryOpen source★ 40.7K
Related
From the same area, with a close purpose.
High-performance RPC with Protocol Buffers contracts.
FrameworkOpen source★ 45.4KInteractive API documentation from OpenAPI.
LibraryOpen source★ 29.1KGenerates clients and servers from an OpenAPI specification.
CLIOpen source★ 26.8KGraphQL server for Node.js, popular and extensible.
LibraryOpen source★ 14K