An Introduction to GraphQL
In this article, you will review what GraphQL is, familiarize yourself with important terminology and concepts of GraphQL, and discover how the GraphQL specification compares with the REST architectural style.
In this article, you will review what GraphQL is, familiarize yourself with important terminology and concepts of GraphQL, and discover how the GraphQL specification compares with the REST architectural style.
Here’s a quick and dirty reference for the GraphQL Schema Definition Language (SDL), which gives us a succinct syntax to define your GraphQL schemas.
GraphQL being a typed query language, you can query the server for the different fields and types.
Learn how to set up an advanced GraphQL APIs with Mutations and Subscriptions using the graphql-yoga Node.js library.
Uploading files with GraphQL can be a challenge, since there is no built-in support for file uploads. In this tutorial, you will learn to upload images to a third-party storage service directly from your backend application. You will build a GraphQL API that uses an S3-compatible AWS GO SDK from a Go backend application to upload images to object storage. The Go back-end application will expose a GraphQL API and store user data in a PotsgreSQL database.
In this tutorial, you’ll build a GraphQL API for a blogging application in JavaScript using Node.js. You will first use Apollo Server to build the GraphQL API backed by in-memory data structures. You will then deploy the API to the an app platform. Finally you will use Prisma to replace the in-memory storage and persist the data in a PostgreSQL database and deploy the application again.
In this tutorial, you’ll make an Express API server in Node.js that serves up a GraphQL endpoint. You will also build a GraphQL schema based on the GraphQL type system, including operations such as queries and mutations, as well as resolver functions to generate responses for any requests. You will also use the GraphiQL integrated development environment (IDE) to explore and debug your schema and query the GraphQL API from a client.
In this tutorial, you will build a GraphQL-powered Ruby on Rails API for taking notes. When you are finished, you will be able to create and view notes from the API using GraphQL.
In this tutorial, we’ll take an in-depth look at queries in GraphQL so that you better understand how to retrieve data from a GraphQL server. We will cover fields, arguments, aliases, operation syntax, and more. Once you have finished, you will be able to leverage the functionality of queries to build better API’s with GraphQL.
GraphQL is a modern solution for facilitating the communication between a front end and a data source. In order to write a functioning GraphQL schema, you must understand the GraphQL Type System. In this article, you will learn about the five built-in scalar types, Enums, Object types (and the abstract types that work alongside them), and the List and Non-Null wrapping types. You will see examples for each type and learn how to use them to build a complete GraphQL schema.