I have just started learning node js and i am planning on learning express and mongodb and the rest. I have been hearing how difficult it is to handle photo upload in express and this is very worring. What are the different ways that photo upload can be implemented on a website i create?, what is the best way to handle it from your experience?, what do I have to learn to be able to do it? Thanks alot.
At Froala Editor, we have a server side integration for easing the image upload. We tried all kind of solutions and we ended up using busboy . You can find a Gist for it here: gist.github.com/shobhitg/5b367f01b6daf46a0287.
Gilles Pons
To upload any kind of file using express you should create a form multipart/form-data and send your files with it to an express route , that route should use multer or busboy or formidable (the three are on npm) to parse the request and get the files, then you just need to save it or format it the way you want.