title: Is my db schema okay for usage with Mongo?
body: <p>tl;dr
  Is my schema okay?</p>
  
  <p>My resolution for this year is to learn something new, and I've chosen to learn something about non-rel databases, i.e. Mongo. I'm currently working on a simple app which uses mongo as the database engine.</p>
  
  <p>The application I'm working on is a simple questionnaire app: admin creates question, (logged in) user answers them. So: User has many Answer belongs to Question. <strong>What would be the most appropriate schema for such an app?</strong> I created the next schema myself (pseudo), but I'm wondering if you have any hints/tips solving this.</p>
  
  <pre><code>users [
      {
          # some required fields to authenticate the user
          email: j.doe@example.com,
          password: ...
          etc.
  
          # next fields are this users answers to a question
          # the key is the question's id, it's value the answer
          1: 'John',
          2: 'Doe',
      },
  ]
  
  questions [
      { # no 1 (I know id's in mongo aren't numbered this way,
        # this is just for the sake of readability.
          question: What is your first name?,
          type: open,
          required: true,
      },
      { # no 2
          question: What is your last name?,
          type: open,
          required: false,
      },
      # and so on.
  ]
  </code></pre>