Giter VIP home page Giter VIP logo

patrickcode / quest Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 2.48 MB

question answer repository where users can add questions along with answers on various topics. Topics will be maintained by admins initially and then can be maintained completely users based on credits on the site. Questions: The repository will be initially seeded with sample questions. Users to the site can then add questions to the global repository. Each user who adds new questions will get credit points. Questions along with answers added must be validated or peer reviewed by at least 2 users before publicly appearing in the portal. Questions can be of multiple types including MCQ, subjective, image-based, etc. Answers/Mock Tests: Users can come to the portal and take mock tests on broad categories. Limited functionality will be available to users for a free plan. Various paid plans can be opted by the user which will allow them more functionality like getting access to all questions with answers, etc. Credit: The repository needs to be maintained and moderated by the users and based on the credits received by the user their functionality and access to the site will increase.

License: MIT License

C# 9.78% HTML 28.90% JavaScript 48.93% CSS 3.26% PowerShell 5.45% PHP 0.54% Shell 0.03% Java 3.10%

quest's People

Contributors

patrickcode avatar

Watchers

James Cloos avatar Raumali Dasgupta avatar  avatar  avatar

quest's Issues

Unable to create MCQs with options.

Internal Server Error (500) is occurring on trying to create a MCQ.
No response is being received.

Request JSON:

{
"Value":"Which of the following is not a provider in Angular?",
"DifficultLevel":200,
"QuestionTypeCode":"TXT",
"AnswerTypeCode":"MCQ",
"CorrectAnswer":"Controller",
"Options":["Sevices", "Providers", "Factories"],
"Categories":[{
"Value": "AngularJs",
"Code": "NG",
"SubCatgories": [{
"Value": "Data-Binding",
"Code": "NG-DB",
}]
}],
"Tags":["Angular","Data-Binding"],
"CreatedBy":"[email protected]",
"CreatedOn":"0001-01-01T00:00:00",
"LastModifiedBy":null,
"LastModifedOn":"0001-01-01T00:00:00",
"MediaUrl":null,
"id":null
}

Error message in console in "Add Questions Page"

The following error message is appearing in the console on visiting the Add nee Question page

Error: [$compile:ctreq] Controller 'ngMessages', required by directive 'ngMessage', can't be found!
http://errors.angularjs.org/1.6.3/$compile/ctreq?p0=ngMessages&p1=ngMessage
at angular.js:66
at getControllers (angular.js:9889)
at nodeLinkFn (angular.js:9812)
at compositeLinkFn (angular.js:9048)
at publicLinkFn (angular.js:8913)
at angular-messages.js:572
at processQueue (angular.js:16843)
at angular.js:16887
at Scope.$digest (angular.js:17982)
at Scope.$apply (angular.js:18280) "Possibly unhandled rejection: {}"

The message is repeating twice.

When adding a new question with a single category then the category is getting added twice.

Add a new question and keep only 1 category with no subcategory. The category is getting twice.
Repro Question - 6d5306e6-9eef-41ac-929e-bfec7dc387f2

{ "value":"Which of the following is the correct way of setting a watch on an Angular model value?", "difficultLevel":200, "questionTypeCode":"TXT", "answerTypeCode":"MCQ", "correctAnswer":"$scope.$watch('modelvalue', updater);", "options":[ "$scope.$watch = ('modelvalue', updater);", "$scope.$watch('modelvalue', updater);", "$scope.watch('modelvalue', updater);", "$scope.$watch.add('modelvalue', updater);" ], "categories":[ { "value":"AngularJs", "code":"NG", "subCatgories":[ ] }, { "value":"AngularJs", "code":"NG", "subCatgories":[ ] } ], "tags":[ "Angular", "AngularJs", "Watches", "Angular Scope", "Angular Watches" ], "createdBy":"[email protected]", "createdOn":"2017-03-14T15:04:05.4218314Z", "lastModifiedBy":"[email protected]", "lastModifedOn":"2017-03-14T15:04:05.4218314Z", "mediaUrl":"", "id":"6d5306e6-9eef-41ac-929e-bfec7dc387f2" }

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.