Is Nodejs GOOD FOR REST API?
You can construct REST API with Node. js really quickly. Node. js has large and active community that contribute many useful and mature modules which can be easily included and used.
Does Node-RED have an API?
Runtime APIs
It is used by the Node-RED Editor and command-line admin tool. The Hooks API provides a way to insert custom code into certain key points of the runtime operation. This API provides a pluggable way to configure where the Node-RED runtime stores data.