Difficulty: beginner
Estimated Time: 15 minutes

under construction

  • Educational Objective
  • What To Expect
  • What You Need To Know Before You Start
  • Working with GraphQL and IMBOB
  • Scenario Contents

IMPORTANT: You need to do the steps in sequence in order for the state of the lesson's learning environment to be consistent. Otherwise, you'll get behaviors that might be confusing.


Educational Objective

The purpose of the scenario is TO BE PROVIDED

What To Expect

After taking this scenario you will:

TO BE PROVIDED

What You Need To Know Before You Start

TO BE PROVIDED

Working with GraphQL and IMBOB

TO BE PROVIDED

You've crossed the finish line!

under construction

In this scenario you learned:

  • TO BE PROVIDED
  • TO BE PROVIDED
  • TO BE PROVIDED
  • TO BE PROVIDED

Next we'll move on to TO BE PROVIDED

Understanding GraphQL Using IMBOB

Step 1 of 5

Step 1 - Setting Up The GraphQL API

Step Video Goes Here

First, let's set up the GraphQL API.

Get the code from GitHub:

git clone https://github.com/reselbob/IMBOB.git

Go to the folder that has the source code and Dockerfile

cd IMBOB

Make the Docker image that represents the GraphQL API

docker build -t imbob .

Now, create the container

docker run -d -p 80:4000 imbob

Let's check to see that the GraphQL API is up and running

curl 'http://localhost/' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'DNT: 1' -H 'Origin: http://localhost:4000' -H 'authorization: ch3ddarch33s3' --data-binary '{"query":"mutation{\n ping(payload: \"This is a test payload\") {\n createdAt\n payload\n name\n id\n }\n}"}' --compressed

Understanding This Step

TO BE PROVIDED