Okay. Managed to figure it out. If anyone encounters same scenario in the future, this is my solution. I’ve created a File object on the front and sent the data to the node.js server, where I created a write stream and stored it at the specific location.
// on the front-end
// on the back-end
On the server side, you also need to add middleware for processing request body as a Buffer.
Turned out to be fairly simple, but it gave me a lot of headache till this point xD
Thanks for your answer @carolhmj, appreciate it.
Cheers