Return to Activities
Workshop

Intro to GraphQL Powered by Shopify

Learn the future of making API calls with GraphQL.

Workshop Overview

  • Beginner
  • 1.5h - 2h
  • Node.js, GraphQL, Shopify Storefront API

Learning Objectives

  • Set up Node.js on your computer
  • Register for a Shopify Account
  • Understand the structure of GraphQL
  • Write GraphQL calls to the Shopify Storefront API

Have a question?

Get in touch if you have any questions regarding this workshop or MLH Localhost.

About this Workshop

During this workshop, you’ll teach participants how to set up their development environment to use Node.js and GraphQL, register for a Shopify Developer account, and write your first API calls using GraphQL!


Write API calls with GraphQL

GraphQL is a new query language that allows developers to request only the data they want and nothing extra from APIs. GraphQL was developed at Facebook and is now being used by major companies like Github, Pinterest, and Shopify.


Shopify Storefront API

The Shopify Storefront API, based on GraphQL Schemas, empowers developers to request data about individual or groups of products to display, create unique checkout experiences, create or modify customers, and provide customers with unique product options. All of this is achieved writing calls using GraphQL.

Requirements / Prerequisites

Participants will be required to have a computer that can connect to the Internet and run the following software:

System Requirements:


Participants should have a basic familiarity with web applications. During this workshop we will be interacting with a basic application writtin using Node.js and the Shopify Storefront API.

Supplies

When you host an MLH Localhost activity, we’ll send you everything you need to run it. Here’s what we’ll send you:

The List:

Resources & Downloads

Installing Node.js on your computer

Participants will need to install Node.js locally to run the applications they create. Participants may install Node.js during the workshop or in advance. It will be easier for you to help debug issues if you have been through this before.

Downloads

Mac Linux Windows

Getting Started with GraphQL

During this workshop, participants will be recreating two GraphQL queries with your support. While anyone who has written some JavaScript or API calls in general should be able to get started with this tutorial, it will be easier for you to support them if you have read a little about GraphQL in advance.

Read

Get Started

The hackers are waiting for you.


Have a question?