file-metadata

FreeCodeCamp Challenge

HINT: You can use the multer npm package to handle file uploading.

  • You can submit a form that includes a file upload.
  • The form file input field has the name attribute set to upfile.
  • When you submit a file, you receive the file name, type, and size in bytes within the JSON response.