coding-blocks / trouble-maker Goto Github PK
View Code? Open in Web Editor NEWA microservice responsible for storing mcqs and proving scores based of submissions.
A microservice responsible for storing mcqs and proving scores based of submissions.
For the choices
relation, "positiveWeight" should have a default value of 0. Add this in a migration
We have extracted the framework/Controller class into a separate npm package, which we maintain here: https://github.com/coding-blocks/express-jsonapi-controller
Let's use that as a dependency here
Currently, we don't have any route to preview the quiz with the options that we've created. Create a route /quiz/<id>/preview
which has a similar UI to the following Image
Use question
as a query param to index the questions in the quiz.
Submission Guidelines
Pre-requisite
It would be easy to add tags to questions to easily find them.
Schema
tags
id | name | createdBy | createdAt | updatedAt
question_tags
id | tagId | questionId | createdAt | updatedAt
API to implement
filter: { tags: [ 12, 34 ] }
query param.The frontend part of this feature is explained here: coding-blocks/trouble-maker-frontend#18 and the bounty is for combined feature implementation.
Issue:
A questions once deleted from quiz cannot be added again.
Steps to reproduce:
Solution
Add partial index on model quizQuestions
When setting up the project, there is no 'users' table defined in the database, but we intend to insert values in the table, which creates an error ERROR: relation "users" does not exist
.
A question can be either multiple correct or single correct.
correctAnswers
or send an error.Make sure we send total-questions
as property along with quiz for GET /quizzes
and GET /quizzes/:id
since it is very useful meta.
It should be serialized as total-questions
and should be an Integer always. 0
when no question is associated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.