https://github.com/remotesynth/graphql-client-libs
Examples of using popular client-side GraphQL libraries
https://github.com/remotesynth/graphql-client-libs
Last synced: about 1 year ago
JSON representation
Examples of using popular client-side GraphQL libraries
- Host: GitHub
- URL: https://github.com/remotesynth/graphql-client-libs
- Owner: remotesynth
- License: mit
- Created: 2021-02-03T21:45:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-04T13:25:08.000Z (over 5 years ago)
- Last Synced: 2025-02-13T23:18:21.263Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is an example of using three different GraphQL client libraries for JavaScript:
* GraphQL Request
* Apollo Client
* Urql
The project does not illustrate all the features of each, just the basics. Each project is a simple Next.js site that uses these libraries to do three simple tasks:
* Make a simple unauthenticated GraphQL API request
* Make a GraphQL API request passing variables
* Make an authenticated GraphQL API request