IEEE-VIT / enigma8-backend

Backend for Enigma 8.0

Home Page:https://enigma8-api.ieeevit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement LogModel and an Admin Route

ShubhamPalriwala opened this issue · comments

THe Log Mongo model should have the following fields:

  • username
  • roomNo
  • QNo
  • Powerup Name (if used)
  • Hint (if used)
  • Effective Score
  • submittedAnswer
  • isAnswerClose? Is it correct
  • timestamp: true

A Get route to fetch this DB and have query params for all the fields. The route should only be accessbile if a REQ.QUERY..IEEE_TOKEN Is provided