learn-tech icon indicating copy to clipboard operation
learn-tech copied to clipboard

[Firestore] Define documents and collections

Open lucasmontano opened this issue 5 years ago • 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)

lucasmontano avatar Jul 16 '20 16:07 lucasmontano

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

zthiagovalle avatar Jul 16 '20 16:07 zthiagovalle

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

andre-souza-dev avatar Jul 16 '20 16:07 andre-souza-dev

@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.

lucasmontano avatar Jul 16 '20 16:07 lucasmontano

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

henriquebarrosx avatar Jul 16 '20 17:07 henriquebarrosx

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

henriquebarrosx avatar Jul 18 '20 14:07 henriquebarrosx

What about the user ?

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

Does it make sense?

HenriqueDerosa avatar Jul 27 '20 21:07 HenriqueDerosa