Backend Assignement for GroMo
- mysql database installed and running
- node installed
- npm installed
- clone the repo
- cd in to the repo
- run
npm i
- after the installation run
npm start
- Quiz
CREATE TABLE Quiz ( quiz_id INT NOT NULL AUTO_INCREMENT , topic VARCHAR(35) NOT NULL , PRIMARY KEY (quiz_id));
- Questions
CREATE TABLE Questions ( question_id INT NOT NULL AUTO_INCREMENT , quiz_id INT NOT NULL, brief VARCHAR(350) NOT NULL, op1 VARCHAR(35) NOT NULL, op2 VARCHAR(35) NOT NULL, op3 VARCHAR(35) NOT NULL, op4 VARCHAR(35) NOT NULL, ans VARCHAR(35) NOT NULL, PRIMARY KEY (question_id));