diff --git a/02 Lab 1 TDD Express.md b/02 Lab 1 TDD Express.md index eec8627..480d892 100644 --- a/02 Lab 1 TDD Express.md +++ b/02 Lab 1 TDD Express.md @@ -1,11 +1,11 @@ -# Programming Refresher Express +# Using Test-Driven Development with Express If you are completing this worksheet it is assumed that you are already familiar with both NodeJS and the `Express` package that is used to build dynamic websites. This worksheet will serve as a refresher whilst learning how to use a technique called **Test-Driven Development** which you will need to apply on a regular basis during the remainder of this module. If you are not familiar with NodeJS and Express ask your lab tutor for additional resources. -Navigate to the `exercises/01_prof_dev/express/` directory which contains a simple dynamic website that uses the **Express** web server and the **Handlebars** templating engine. Examine the folder structure and you will see that there are several directories: +Navigate to the `exercises/02_tdd/express/` directory which contains a simple dynamic website that uses the **Express** web server and the **Handlebars** templating engine. Examine the folder structure and you will see that there are several directories: ``` . diff --git a/02 Lab 2 TDD API.md b/02 Lab 2 TDD API.md index 77e06a6..202605f 100644 --- a/02 Lab 2 TDD API.md +++ b/02 Lab 2 TDD API.md @@ -5,7 +5,7 @@ If you are completing this worksheet it is assumed that you are already familiar If you are not familiar with API design or the use of NodeJS and Restify ask your lab tutor for additional resources. -Navigate to the `exercises/01_prof_dev/web_api/` directory which contains a simple web api built using **NodeJS** and the [restify](http://restify.com) package. Examine the folder structure and you will see that there are several directories: +Navigate to the `exercises/02_tdd/web_api/` directory which contains a simple web api built using **NodeJS** and the [restify](http://restify.com) package. Examine the folder structure and you will see that there are several directories: ``` ├── __tests__ diff --git a/02 Lab 3 MQTT.md b/02 Lab 3 MQTT.md index 9e0f602..80828d1 100644 --- a/02 Lab 3 MQTT.md +++ b/02 Lab 3 MQTT.md @@ -12,7 +12,7 @@ Start by installing the [Mosquitto Tools](https://www.eclipse.org/mosquitto/down If you are using MacOS you should install the [Brew Package Manager](https://brew.sh) and use this to install Mosquitto using `brew install mosquitto`. -If you are using Ubuntu you can install using`sudo apt install mosquitto`. +If you are using Ubuntu you can install using`sudo apt install mosquitto`. This also works for most online IDEs. ``` mosquitto_sub -h test.mosquitto.org -t "#" -v diff --git a/02 Lab 4 MQTT JavaScript.md b/02 Lab 4 MQTT JavaScript.md index ad6dafc..c1074d7 100644 --- a/02 Lab 4 MQTT JavaScript.md +++ b/02 Lab 4 MQTT JavaScript.md @@ -1,7 +1,7 @@ # Building Websites to Subscribe to MQTT Data -This worksheet builds on the **Publish Subscribe** one. Make sure you have finished this before starting. In this worksheet you will learn how to use the TDD methodology to develop websites that subscribe to MQTT brokers. You can find the exercise files in the `02_mqtt_javascript/` directory. +This worksheet builds on the **Publish Subscribe** one. Make sure you have finished this before starting. In this worksheet you will learn how to use the TDD methodology to develop websites that subscribe to MQTT brokers. You can find the exercise files in the `exercises/02_tdd/web_client/` directory. ## 1 Basic MQTT Client