Skip to content

Nuxt 3: Drag & Drop upload multiple files to MongoDB using Multer. Delete file from the folder and mongodb

Notifications You must be signed in to change notification settings

ReaganM02/Nuxt3-Upload-Multiple-Files-To-MongoDB

Repository files navigation

Nuxt 3: Upload multiple files using multer module.

The files will be save in the public/assets/images folder and store their paths in MongoDB. This allows you to easily access and manipulate the files along with their associated data. If you want to remove a file, you can delete the corresponding document in MongoDB, which in turn will remove the file from the images folder as well as its associated document. See video example.

Click The Link Below for Nuxt 3 and MongoDB: Drag & Drop Upload Multiple Files. Post, Get, & Delete Files.

🔗 https://www.youtube.com/watch?v=mQxY3tL7-pg

Usage

  • Create a .env file
  • Add your mongoDb URL MONGO_URL=mongodb+srv://......

Example video

About

Nuxt 3: Drag & Drop upload multiple files to MongoDB using Multer. Delete file from the folder and mongodb

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published