Skip to content

shubhambattoo/node-js-file-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS GridFS Upload

Using new gridfs bucket

About GridFS read more

To read more about the GridFS bucket read more

Methods working

  • Able to upload files
  • Able to retrive files
  • Able to Delete files and chunks from the db

Author

👤 Shubham Battoo

Usage

Download or Clone the project, cd node-js-file-upload

then install all the required dev and depenedencies by running

npm install

Serve the project

npm start

Server starts on the port http://localhost:5001

You can follow the following tutorial which describes how all the code works on this repo

https://dev.to/shubhambattoo/uploading-files-to-mongodb-with-gridfs-and-multer-using-nodejs-5aed

Give a ⭐️ if this project helped you!