Graphql: Difference between revisions
From wikinotes
(→Notes) |
(→Syntax) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
GraphQL is an alternative to REST APIs that enables you to query exactly what you need using a single HTTP request, rather than several. | GraphQL is an alternative to REST APIs that enables you to query exactly what you need using a single HTTP request, rather than several. | ||
= Documentation = | = Documentation = | ||
Line 9: | Line 5: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| docs || https://graphql.org/learn/ | | official docs || https://graphql.org/learn/ | ||
|- | |- | ||
| introspection docs || https://graphql.org/learn/introspection/ | | introspection docs || https://graphql.org/learn/introspection/ | ||
|- | |||
| graphql spec || http://spec.graphql.org/ | |||
|- | |- | ||
|} | |} | ||
</blockquote><!-- documentation --> | </blockquote><!-- documentation --> | ||
= Tutorials = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| digitalocean SDL intro || https://www.digitalocean.com/community/tutorials/graphql-graphql-sdl | |||
|- | |||
|} | |||
</blockquote><!-- Tutorials --> | |||
= Notes = | = Notes = | ||
<blockquote> | <blockquote> | ||
{| | {| | ||
|- | |||
| [[graphql basics]] | |||
|- | |- | ||
| [[graphql usage]] | | [[graphql usage]] | ||
Line 37: | Line 46: | ||
| [[graphql datatypes]] | | [[graphql datatypes]] | ||
|- | |- | ||
| [[graphql | | [[graphql relationships]] | ||
|- | |||
| [[graphql subscriptions]] | |||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Syntax --> | </blockquote><!-- Syntax --> | ||
= | = libraries = | ||
<blockquote> | <blockquote> | ||
Libraries are mostly used to build APIs. Queries can be performed with regular HTTP requests. | |||
{| | {| | ||
|- | |- | ||
| [[ | | [[ruby graphql-ruby]] | ||
|- | |- | ||
| [[ | | [[python ariadne]] | ||
|- | |- | ||
| [[python graphene]] | | [[python graphene]] | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Hosting --> | </blockquote><!-- Hosting --> |
Latest revision as of 22:09, 5 September 2021
GraphQL is an alternative to REST APIs that enables you to query exactly what you need using a single HTTP request, rather than several.
Documentation
official docs https://graphql.org/learn/ introspection docs https://graphql.org/learn/introspection/ graphql spec http://spec.graphql.org/
Tutorials
digitalocean SDL intro https://www.digitalocean.com/community/tutorials/graphql-graphql-sdl
Notes
graphql basics graphql usage graphql queries graphql mutations graphql errors
Syntax
graphql datatypes graphql relationships graphql subscriptions
libraries
Libraries are mostly used to build APIs. Queries can be performed with regular HTTP requests.
ruby graphql-ruby python ariadne python graphene