What is node.red

藏色散人
Release: 2022-11-08 15:56:33
Original
8009 people have browsed it

node.red refers to Node-RED, a flow-based low-code programming tool for connecting hardware devices, APIs and online services in new and interesting ways; it provides a browser-based Streamer's editor makes it easy to connect flows together using various nodes in the editing panel and deploy them to their runtime with just a click.

What is node.red

The operating environment of this tutorial: Windows 7 system, node version 18.4.0, Dell G3 computer.

What is node.red?

Node-RED, a flow-based low-code programming tool

The author recently discovered a very interesting tool when browsing the github community—— Node-RED, the official website is very concise. Next, I will introduce the tool and how to use it.

Node-RED is a programming tool. Used to connect hardware devices, API and online services together in new and interesting ways.

It provides a browser-based editor that makes it easy to connect flows together using various nodes in the editing panel and deploy them to their runtime with a single click. The interface is as follows:

What is node.red

Browser-based process editing

What is node.red

Node-RED can be found in Install it locally, and access its visual orchestration interface through a browser. Secondly, we can also use the rich text editor to create JavaScript functions in the editor. The built-in library also allows us to save useful functions, templates or processes. for reuse. As follows:

What is node.red

Built on Node.js

What is node.red

Lightweight runtime based on Node. js is built to take full advantage of the event-driven non-blocking model. This makes it ideal for running at the edge of the network on low-cost hardware such as the Raspberry Pi, as well as in the cloud. [Recommended learning: nodejs video tutorial] There are more than 225,000 modules in

Node’s package repository, which can easily expand panel nodes scope to add new functionality. Community Sharing

What is node.redStreams created in

Node-RED

are stored using JSON and can be easily imported and export to share with others. The online process library allows us to share our best processes with the world. Installation and use

The installation and use of Node-RED

is also very simple. The author will introduce the basic installation method here.We need to first Install

Nodejs

globally on your computer. You can download it on the official website. Secondly, we enter the following command to download Node-RED:<div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:php;toolbar:false">sudo npm install -g --unsafe-perm node-red</pre><div class="contentsignin">Copy after login</div></div>If the following interface appears, it means it has been installed. Success.

What is node.redFinally execute:

node-red
Copy after login

to start the

Node-RED

service, we enter the terminal print in the browser The following address can be accessed and used:

What is node.redThe interface after running is as follows:

What is node.red


What is node.red

The above is the detailed content of What is node.red. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template