Book Image

Practical Node-RED Programming

By : Taiji Hagino
5 (1)
Book Image

Practical Node-RED Programming

5 (1)
By: Taiji Hagino

Overview of this book

Node-RED is a free and open source flow-based programming tool used to handle IoT data that allows programmers of any level to interconnect physical I/O, cloud-based systems, databases, and APIs to build web applications without code. Practical Node-RED Programming is a comprehensive introduction for anyone looking to get up to speed with the Node-RED ecosystem in no time. Complete with hands-on tutorials, projects, and self-assessment questions, this easy-to-follow guide will help you to become well versed in the foundations of Node-RED. You’ll learn how to use Node-RED to handle IoT data and build web applications without having to write complex code. Once you’ve covered the basics, you’ll explore various visual programming techniques and find out how to make sample flows as you cover web development, IoT development, and cloud service connections, and finally build useful real-world applications. By the end of this book, you’ll have learned how to use Node-RED to develop a real-world application from scratch, which can then be implemented in your business.
Table of Contents (19 chapters)
Section 1: Node-RED Basics
Section 2: Mastering Node-RED
Section 3: Practical Matters

Connecting a remote repository

Now, let's learn how to connect Node-RED to a remote repository such as GitHub. Here, we will use the GitHub service for the remote repository. This is like connecting local Git and remote GitHub via Node-RED. This is nothing special. It is familiar to people who use Git/GitHub on a regular basis, but it's very similar to the situation where GitHub is used as a client tool. It is very easy for you to manage the version with Node-RED.

Create a remote repository of your Node-RED project on GitHub with the help of the following steps:

  1. First, go to your GitHub account and create a repository.

    It's a good idea to use a project name similar to your local repository. We won't go into details of how to use GitHub here, but since it is a service that can be used intuitively, I believe that anyone can use it without any problems:

    Figure 8.14 – Creating a repository on your GitHub

  2. Configure the project settings of your Node...