Aka how to stream the data directly to disk while they are beeing uploaded.
You can read more info https://pagep.net/2018/03/31/how-to-handle-large-file-upload-with-nodejs-express-server/
But the code should be pretty self-explanatory...
All the magic happens in the main.js
git clone https://github.com/petrvecera/node-file-upload.gitcd node-file-uploadyarn installyarn start
You can also use npm instead of yarn.