Skip to content

nvenkat94/nodejs-file-upload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Uploading files to a Nodejs express server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.9%
  • HTML 36.1%