software-students-fall2021 / project-setup-penguin

project-setup-penguin created by GitHub Classroom
3 stars 4 forks source link

use multer to handle file upload #158

Closed janethuangg closed 2 years ago

janethuangg commented 2 years ago

this PR incorporates multer middleware into our image uploading process – all images will now be stored in disk under the backend/uploads folder, and the filename will be saved to the mongo Card document