HowTo’s

Sometimes it is useful to have a minimal working example configuration with a new or existing technology. The example can be used to gain more insight in the workings of the technology, or be used as basis for extension. I have made available a number of minimal working configurations, usually the spin off of having to figure out how things work myself. Hopefully the examples will provide insight and/or save some time for anyone trying to use technology that (s)he is not yet familiar with.

Using web pages and web services from different origins with CORS (minimal example with fetch and express)

Using web socket connection from browser client to web server (minimal example with WebSocket and express-ws)

Using web socket connection from JavaScript client to web server (minimal example with ws and express-ws)