Giter VIP home page Giter VIP logo

qujini's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

qujini's Issues

Create Question Model

Specifications for the Model

Name Type Details
question Rich Text Field Question along with any diagram
min_mark Integer Minimum Mark
max_mark Integer Maximum Mark. ( Optional )
difficulty Select (ENUM) Very Easy / Easy / Moderate / Hard / Expert
type Relational (Foreign Key) Question Type (like Objective, Numerical, Theory etc.)
topic Relational(ManyToMany) Question Topics
date Date Date of setting the question
author Relational Contributor of question (to Default User Model)

Admin

  • Searchable
  • List Items -> Question (first 100 chars), Topics, Type, Difficulty, Mark Range, Author

Create QuestionPaper Model

Field Type Description
Questions Many to Many Set of Questions
User(?) Relational User who generated the Question

Create generatePaper API

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

(Proposed) Parameters/Constraints
  • marks
  • difficulty
  • clubQuestions - Boolean
  • optionalQuestions - Boolean
  • savePreset - Boolean
  • topics: ObjectArray{
    topics: (Relational to topic model, its slug should be accepted),
    min_marks: int,
    max_marks: int,
    optional: boolean (default false)
    }
  • types: ObjectArray{
    types: (Relational to type model, its slug should be accepted),
    min_marks: int,
    max_marks: int
    } [ Optional ]
  • sections: ObjArray{
    title: string,
    marks: int
    types: (Relational to type model, its slug should be accepted),
    topics: (Relational to topic model, its slug should be accepted),
    difficulty:[enum]
    }

(Proposed) Return

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

Add support for GraphQL APIs

Add support for graphQL APIs through adding plugins - graphene and django-graphql-jwt.
Make graphQL endpoint the root URL.

Create getPaperAPI

Similar to #13,

Parameters

  • id - string (id of question paper)
  • format - enum [ "pdf", "json" ]

Return

-> JSON obj of QuestionPaper
-> Link to generated PDF

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.