This article along with an accompanying app describes and implements a framework to capture and process IOT or Lab Data data in a more complete way ..ie an end to end solution with a Simulator side and a PC side talking to each other. It shows you how to control different parts of the testbed. It also has a way where Node-Red code can be debugged browser side using Chrome Dev Tools and then Deployed to the server Without Stopping Any Flows.
See it and get the Demo-App as well at