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

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Vue 56.7%Language:TypeScript 43.3%