Compress PNG

Req.file.path would refer to the currently uploaded file. Now, that we are able to upload files on our server and that we have added the extension validation. The next challenge is to read the uploaded file and convert it to json. We will change our upload function to...