/nodejs-file-upload

Uploading files to a Nodejs express server

Primary LanguageJavaScript

Uploading files in NodeJs (single/multiple)

This repo demonstrates how to upload files to a NodeJS express server.

Checklist:

  1. Single file upload
  2. Multi file upload
  3. Limiting file-size to be uploaded
  4. Supporting mimetypes
  5. Using temporary path, instead of memory
  6. Creating directories dynamically

To start setting up the project

Step 1: Clone the repo

git clone https://github.com/trulymittal/nodejs-file-upload.git

Step 2: cd into the cloned repo and run:

npm install

Step 3(optional): Incase nodemon NOT installed globally on system.

npm install -g nodemon

Step 4: Start the repo by

npm start

Author

Contribute

You can fork this repo and send me a PR.

License

This project is licensed under the MIT License.