amfoss / qujini

This project is no longer actively maintained and has been archived for historical reference. Open Source Question Paper Generator
GNU General Public License v3.0
476 stars 22 forks source link

Create generatePaper API #13

Open aswinshenoy opened 5 years ago

aswinshenoy commented 5 years ago

Requires fixing #12, The generatePaper API accepts question paper contstrains from the user, generates a question paper and returns it.

(Proposed) Parameters/Constraints

(Proposed) Return

-> Return QuestionPaper Obj ID [ which can be queried using another API to get the question paper in required form].

aswinshenoy commented 5 years ago

The logic of question paper generation can be implemented separately, essentially this issue is only to handle the API and send required params to the generator script (assuming one exists).

nipan09 commented 5 years ago

@aswinshenoy, I am trying to add relation for types and sections parameters and also enum type for difficulty constraint under sections parameters, but I cannot able to put it in schema file. How should I approach?