auto-grader
auto-grader copied to clipboard
Create an HTML page home page
Right now, on hitting the base URL, the API just shows "Auto-Grader is online". Create a better-looking homepage.
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?
Hey @rajatkeshri, just an introductory page will be good enough. You can get the info about the working from the readme.
Can i work on this issue??
@PAARTH2608 sure, go for it
Thanks
@PAARTH2608, how's it going?
Can you assign it to some other person. I am currently having a laptop issue which will take some time to get repaired
Okay sure
@iamyajat Can you assign this to me?
Sure @ElyTgy
@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?
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.