It is possible to embed Node-RED into a larger application. A typical scenario
would be where you use Node-RED to generate flows of data that you want to
display on a web dashboard - all from the same application.
Add node-red to the module dependencies in your application’s package.json,
along with any of the individual node dependencies you may have.
The following is a minimal example of embedded the runtime into a wider Express
When this approach is used, the settings.js file included with Node-RED is not
used. Instead, the settings are passed to the RED.init call as shown above.
Furthermore, the following settings are ignored as they are left to you to
configure the Express instance as you want it:
Node-RED is a visual wiring tool for the Internet of Things.