NodeExamples

a bunch of node.js examples

tigoe.github.io
Home

This project is maintained by tigoe

Glitch Examples

These examples live on my glitch.com account as well. They can all be found using the formula:

https://tigoe.example-name.me

or

https://glitch.com/~example-name

tigoe-express-basics shows some express.js basics.

tigoe-request-headers shows how to read client request headers in express.js.

tigoe-http-requests an app for testing different kinds of HTTP requests.

tigoe-mqtt-client shows how to make an mqtt client in node.js and in client-side JavaScript.

tigoe-websocket-server shows how to make a WebSocket server in node.js and client in client-side JavaScript.

tigoe-node-fetch-client This is both a server and a client. It shows how to make requests to a RESTful API using fetch(), simplify the result, and serve it via HTTP. It assumes you’re using a microcontroller-based client or have some other reason for needing the results of an API to be simplified.