text: //Multer requirement
  const multer = require('multer');
  
  //Multer MIME_TYPES associating array
  const MIME_TYPES = {
      'image/jpg': 'jpg',
      'image/jpeg': 'jpeg',
      'image/png': 'png'
  };
  
  //Multer storage config
  const storage = multer.diskStorage({
      destination: (req, file, callback) => {
          callback(null, 'images')
      },
      filename: (req, file, callback) => {
          const name = file.originalname.split(' ').join('_');
          const extension = MIME_TYPES[file.mimetype];
          callback(null, name + Date.now() + '.' + extension);
      }
  });
  
  //Exporting Multer
  module.exports = multer({ storage }).single('image');