eehab-saadat / PlagPatrol

The utlimate responsive web based OCR-embedded plaigirism checker which generates PDF plaigirism reports and supports handwritten documents. Created as an end-of-semester project.
3 stars 0 forks source link

Add Frontend & Relevant Pages #4

Closed eehab-saadat closed 1 year ago

eehab-saadat commented 1 year ago

Add Frontend & Relevant Pages

Your task is to implement the front-end for the following 3 key features:

  1. User File Uploading
  2. Report File Downloading
  3. System Error Handling

You may implement these features either by dedicating a specific set (or one) web pages for an individual feature, for example implementing the file upload area to be embedded within the main home/landing page, a separate page for report download, and a separate set for key errors that may occur such as 404: Not Found, 500: Internal Server Error and etc, or implement using the Jinja templating which comes in-built with Flask, which is a flexible and recommended option and will be used regardlessly for server-side rendering. However it is solely upto you how you wish to implement this as per feasibility and doability.

For reference to Jinja templating visit this page and also refer to the sample HTML files within the /templates/ folder to get a sense of how it works and structure your front-end accordingly, for example what URL will be triggered by using the {{url_for()}} reference and etc. Be sure to cover all the aforementioned features, such as providing the endpoints for PDF plagiarism report downloads.

In a gist, you are to perform the following:

You may add on extra functionality, as per your will. Feel free to contact by using the comment section below for any further queries or requests related to this issue.

Note: You are to create a branch of name add-frontend with its source as main and push your commits to only that branch and NOT to main.

Once your feature is finished, comment down below to let me know so that I can merge it with main.