Learning Objectives

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.

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.

Requirements / Prerequisites

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

System Requirements:

MacOS, Linux, or Windows 8 or higher

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:

Intro to GraphQL Powered by Shopify Instructor Guide

Intro to GraphQL Powered by Shopify Presentation

Assorted Stickers & Swag from Major League Hacking (MLH)*

Assorted Stickers & Swag from Shopify*

* Only available in the US, Canada, Mexico, & EU while supplies last.

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.

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.