Node.js: Introduction to Node.js, Events, and Streams
Simple example simmulating a task processing and ending when is finished using events.
Node server example for uploading file
Node echo server
Server:
npm startClient:
curl localhost:8000Node log file server or upload file
Server:
npm startClient:
curl -d 'Text to send to the log file' localhost:8000
curl --upload-file log_client.txt localhost:8000File upload (only .jpg) server with progress
npm startClient:
curl --upload-file test.jpg localhost:8000