<aside> ⚠️ Make sure you have finished the setup in Setting up local Node environment with Git and VSCode and got "Hello World", before continuing in this guide

</aside>

This guide shows how to follow the workshop material and run the corresponding code.

TL;DR

# CTRL+C to stop server
$ git checkout -f cX.Y
$ npm install
$ npm start

Structure of document and code

Each chapter step in the document has a git branch

For example, c1.0 is both a:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/35ac7b95-47b8-44d6-989a-b83346731355/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/abbcbb4a-4d9f-4ca9-8e97-58c800f2b7c9/Untitled.png

The usual flow

Switch branches (chapter step)

We use Force Checkout to simplify switching to a different branch

$ git checkout -f <CHAPTER_STEP>

# e.g.
# git checkout -f c2.1