Yashdew / Assessor

An open-source Resume Analyzer and Ranking tool for recruiters and candidates.
http://assessor.vercel.app/
MIT License
18 stars 8 forks source link

Error handling and Validation in Multiple File Uploads #37

Open JayeshPadhiar opened 2 years ago

JayeshPadhiar commented 2 years ago

The FileUpload.jsx deals with the uploading one or more Resume files in the PDF format.

File Validation

The function uploadFiles() (line 17) is used for uploading the files to the required server endpoint.

The task is to validate the format and the size of the Resume file and call the POST Request API only if the ALL the files being uploaded are valid.

The Resume file is valid only if

Error Handling

Surround the code with error handling statements in order to ensure that application doesnt break due to any exceptions during runtime.

Kesav890 commented 2 years ago

Can i work on this? I would like to give it a try

JayeshPadhiar commented 2 years ago

Done !

@Kesav890, you can raise a Pull Request to the dev branch after making the changes : )

Kesav890 commented 2 years ago

Up for grabs!

nguyenhung15913 commented 2 years ago

Hi, I am interested in this issue, can you assign it to me? Thanks.

Yashdew commented 2 years ago

@nguyenhung15913 sure!