{"id":8384,"date":"2019-07-22T12:47:31","date_gmt":"2019-07-22T12:47:31","guid":{"rendered":"https:\/\/prominic.net\/?p=8384"},"modified":"2023-03-28T18:35:03","modified_gmt":"2023-03-28T18:35:03","slug":"what-is-node-red-for-domino","status":"publish","type":"post","link":"https:\/\/wordpress.prominic.net\/what-is-node-red-for-domino\/","title":{"rendered":"What is Node-RED for Domino?"},"content":{"rendered":"
There has been a lot of talk with the arrival of Domino 10 about Node.js and how it will upgrade Domino apps with ease.<\/p>\n
One solution that has been suggested, especially for those of us who are not Node.js experts is Node-RED.<\/p>\n
Let\u2019s see what Node-RED promises to do: it wires together hardware devices APIs and online services. The flows and authentication are held in JSON. Two other things that are great, is that it\u2019s event-driven and it also comes with a browser-based flow editor.<\/p>\n
<\/p>\n
Image Source: https:\/\/nodered.org\/#features<\/p>\n
Here is why Node-RED is a good idea:<\/p>\n
Why it\u2019s a good thing for Domino? Since it\u2019s the tool used by Domino to abstract the use of the standard APIs exposed by the \u201cdomino-db NPM package.\u201d, it comes in really handy. Also, you can add:<\/p>\n
You can use it on Node.js, Linux is preferred but support for Windows is also provided. As far as cloud goes, make your pick: AWS, IBM Cloud, MS Azure.<\/p>\n
You now might have a new question in mind: What are these Nodes you are talking about? Well, nodes are asynchronous black boxes that can use flow, sub-flow global and configuration objects. A node will pass data in a msg object. The flows and authentication are held in JSON and they code with HTML and JavaScript.<\/p>\n
Let\u2019s now dive deeper into the matter by addressing the issue of installing it. Here are some links that can help you with the local installation: Getting Started<\/a>\u00a0and Installing on Windows<\/a> ).<\/p>\n To install Node.js you\u2019ll first need to get it from https:\/\/nodejs.org\/en\/. Run the installation as an administrator, accept de defaults and that is it.<\/p>\n To install Node-RED you\u2019ll need to run cmd, execute: npm install -g –undafe-perm node-red, Run \u201cnode-red\u201d. At this step Node-RED will create a new folder in your %HOMEPATH% folder called .nde-red. You\u2019ll need to point a local browser at http:\/\/localhost:1880.<\/p>\n You can now start with your app development. \ud83d\ude42<\/p>\n <\/p>\n