lucasmontano/learn-tech

[Firestore] Define documents and collections

Opened this issue · 6 comments

Quest Data

  • subject (e.g.: Javascript, SQL, NoSQL, PHP...)
  • description
  • answers[]
  • level (1...5)

Answers Data

  • isRight: true | false
  • description

Level Data

  • index (1...5)
  • description (X, Y, Z)

For level of answers would it be cool to put Junior, Analyst and Senior?

level maybe [rookie, expert, pro, master].

@zthiagovalle @AndreLuiz-JS thanks for your suggestion, I'm adding a new document to describe what the level number means. In a future version, we can display this descriptions to the end-user.

It's interesting that exist a user feedback for the question

Users are motivated by rewards. So, thinks this: Inserting a scoring battle accomplish that user remains to answer more questions.

What about the user ?

user
  id
  name ?
  level  // a selected level
  quests  // [ array of quests ids ]

Does it make sense?