Web Server Examples

I'm currently preparing a set of Node-RED flows and use cases for my students in order to motivate and encourage them to invent and build web sites and REST services without having to know, learn and program much.

As part of that set I've just published three examples for plain and simple web servers on GitHub.

While it is generally not a good idea to use Node-RED for a web server that just serves static files (as there is a myriad of alternatives which are more performant, more secure and have more features), it may become necessary if you plan to use a Node-RED hoster and have no control over the underlying server.

5 Likes

Just a small update: because of an update in the "cookie-based authentication" flows, the "closed web server" example had to be updated as well - it now uses the new authentication flow