Tutorial Series

How To Manage Data with GraphQL

Default avatar
By Tania Rascia
Developer and author at DigitalOcean.
How To Manage Data with GraphQL

Introduction

GraphQL is an open-source query language and runtime for manipulating APIs. GraphQL was designed by Facebook in 2012 (and released publicly in 2015) to solve various weaknesses with traditional REST architecture by making a new system that is declarative, client-driven, and performant.

This series covers the basics of GraphQL, beginning with important terminology and concepts. You’ll also create an Express API server in Node.js that serves up a GraphQL endpoint, giving you hands-on practice with building a schema and using operations (such as queries and mutations) and resolver functions.

Summary View
detailed View

Series Tutorials

Tutorial

An Introduction to GraphQL

Published on November 16, 2021

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.

Tutorial

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.

Conceptual-article

Understanding the GraphQL Type System

Published on January 27, 2023

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.

Check out all our Tutorial Series

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more