auto-grader icon indicating copy to clipboard operation
auto-grader copied to clipboard

Create an HTML page home page

Open iamyajat opened this issue 3 years ago • 12 comments

Right now, on hitting the base URL, the API just shows "Auto-Grader is online". Create a better-looking homepage.

iamyajat avatar Sep 30 '21 20:09 iamyajat

Do you want the webpage to have just the introduction of the project or have a good interface to accept data from the user (like the image input, and the grades), and display the results from the backend as well?

rajatkeshri avatar Oct 01 '21 20:10 rajatkeshri

Hey @rajatkeshri, just an introductory page will be good enough. You can get the info about the working from the readme.

iamyajat avatar Oct 02 '21 05:10 iamyajat

Can i work on this issue??

PAARTH2608 avatar Oct 02 '21 14:10 PAARTH2608

@PAARTH2608 sure, go for it

iamyajat avatar Oct 02 '21 14:10 iamyajat

Thanks

PAARTH2608 avatar Oct 02 '21 14:10 PAARTH2608

@PAARTH2608, how's it going?

iamyajat avatar Oct 08 '21 15:10 iamyajat

Can you assign it to some other person. I am currently having a laptop issue which will take some time to get repaired

PAARTH2608 avatar Oct 09 '21 13:10 PAARTH2608

Okay sure

iamyajat avatar Oct 10 '21 08:10 iamyajat

@iamyajat Can you assign this to me?

ElyTgy avatar Oct 20 '21 23:10 ElyTgy

Sure @ElyTgy

iamyajat avatar Oct 21 '21 05:10 iamyajat

@iamyajat Should the home page have a form to submit the image file from? Or do you want me to open another issue so that I can create another page separate from home just to submit the form (for example a different get route called grade to display a form and let the user submit the image from)?

Other than that, what information will be sent to backend via the form? Is it going to be max_mark, file, and the answers from 1 to 10?

ElyTgy avatar Oct 22 '21 06:10 ElyTgy

Hey @ElyTgy!

On the homepage, you can show how the API works and put a link to the docs. You can get this info from the readme. Docs Link: http://127.0.0.1:8000/docs/

You can create a separate page for the form. In the form, you'll require the image, max_marks, answers to 10 different questions (each question can have multiple answers) and upper and lower bias which is required to fine-tune the marks.

iamyajat avatar Oct 22 '21 07:10 iamyajat