Module 2 Introduction

Introduction to Module 2.0.

Project Source Code

Get the project source code below, and follow along with the lesson material.

Download Project Source Code

To set up the project on your local machine, please follow the directions provided in the README.md file. If you run into any issues with running the project source code, then feel free to reach out to the author in the course's Discord channel.

Module 2 Introduction

We've created a RESTful API to interact with our mock data. A common question is why would one need GraphQL?

GraphQL is a query language for APIs and was originally created to help client-side applications dictate the data they need before they request it. We thought the best way to introduce GraphQL would be to compare a real REST and GraphQL API that achieves the same outcome.

This lesson preview is part of the The newline Guide to Building Your First GraphQL Server with Node and TypeScript course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

This video is available to students only
Unlock This Course

Get unlimited access to The newline Guide to Building Your First GraphQL Server with Node and TypeScript, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course The newline Guide to Building Your First GraphQL Server with Node and TypeScript
  • [00:00 - 00:05] So far, we created a RESTful API to interact with our mock data. So what is this GraphQL thing?

    [00:06 - 00:26] >> Well, GraphQL is a query language for APIs. GraphQL was originally created to help client-side applications dictate the data they need before they requested. We thought the best way to introduce GraphQL would be to compare a real REST and GraphQL API that achieves the same outcome.

    [00:27 - 00:40] >> That's right. In this module, we will explain what GraphQL is, compare GitHub's REST and GitHub's GraphQL APIs. Finally, we'll dive deeper into the core concepts of GraphQL.