{"repo":"nithintata/quiz-app-in-nodejs","free":true,"listed":false,"github":"https://github.com/nithintata/quiz-app-in-nodejs","clone":"git clone https://github.com/nithintata/quiz-app-in-nodejs.git","description":"A quiz app with admin privileges using node js and mongodb. Here admin can be able to create a quiz with various instructions regarding the quiz, questions, answers, explanations and duration for the quiz. At any point of time admin can update, delete, enable or disable any quiz or question","language":"JavaScript","stars":60,"topics":["quiz-app","mongodb","node-js","winston-logger","mocha-tests","javascript"],"license":null,"category":"data-pipelines","readme_excerpt":"Quiz App A quiz app with admin privileges working on node js and mongodb Problem Statement Create a quiz app for an educational institute where they can do following. Admin should be able to create quiz with various instructions regarding the quiz, questions, answers, explanations and duration for the quiz. At any point of time admin can enable or disable the quiz itself. At any point of time admin can enable or disable any question. At any point of time admin can add, remove or edit the question for an existing quiz. Apart from the admin rest of the users can only see the quiz and questions. Implementation 1. The database schema for the above problem statement is located at models/quizes.js file 2. There are four different REST api's for performing various operations localhost:3000/quizes -- for getting list of all quizes, creating a quiz, Removing all quizes localhost:3000/quizes/:quizId -- for getting details of a quiz, updating content of a quiz, deleting a quiz localhost:3000/quizes/:quizId/questions -- for getting questions of a quiz, adding a question, deleting all questions from quiz localhost:3000/quizes/:quizId/questions/:questionId -- getting a question, updating a question, deleting a question 3. The implementation of these end points can be found in routes/quizRouter.js file. 4. All the Post, Put, Delete operations needs to be authorized by providing username and password (username: admin, Password: password). This means only admin can create, update or delete a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/nithintata","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nithintata/quiz-app-in-nodejs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}