# Web Server Examples

**URL:** https://discourse.nodered.org/t/web-server-examples/51768
**Category:** Share Your Projects
**Created:** [2 October 2021 05:35 UTC](https://discourse.nodered.org/t/web-server-examples/51768 "2021-10-02T05:35:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rozek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rozek/32/48594_2.png) [@rozek](https://discourse.nodered.org/u/rozek)
#### Post date: [2 October 2021 05:35 UTC](https://discourse.nodered.org/t/web-server-examples/51768/1 "2021-10-02T05:35:52Z")

</div>

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](https://github.com/rozek/node-red-web-server-examples).

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.

---

<div class="post-metadata">

### Author: ![rozek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rozek/32/48594_2.png) [@rozek](https://discourse.nodered.org/u/rozek)
#### Post date: [25 October 2021 15:57 UTC](https://discourse.nodered.org/t/web-server-examples/51768/2 "2021-10-25T15:57:39Z")

</div>

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
