Uploading files with Multer in Node
NPM version v6.9.0
and Node version v10.16.3
Technologies I have used are as follows
Install the dependencies and start the server.
$ git clone https://github.com/shahnawaz-pabon/File-Upload-With-Multer.git
$ cd File-Upload-With-Multer/Server
$ npm i
$ node server.js
Server is running with https now, if you want it run with http just find out below section in the server.js
file
httpsServer.listen(9002, LANAccess, function () {
console.log("\n*****");
console.log("Server is listening...");
console.log("*****\n\n\n");
});
Replace httpsServer
with httpServer
and run node server.js
this command in the console.