title: Can't get information from mongodb
body: <p>I am working on a quiz application with Angular 8 and node.js .I've inserted the questions, options and answers in the db, can see them in the database but when I try to get them through <a href="http://localhost:/8888/api/quiz" rel="nofollow noreferrer">http://localhost:/8888/api/quiz</a> nothing happens. There's just an empty array. No errors are shown in the console. Everything else is working besides this feature. I can register, login and logout a user but can't get the quiz questions and options.</p>
  
  <p>Here are my routers in the config file:</p>
  
  <pre><code>const router = require('../routes/')
  
  module.exports = (app) =&gt; {
  
      app.use('/api/user', router.user);
      app.use('/api/quiz', router.quiz);
      app.get('*', (req, res) =&gt; { res.send('Something went wrong');});
  }
  </code></pre>
  
  <p>Quiz model</p>
  
  <pre><code>const mongoose = require('mongoose');
  
  const quizSchema = new mongoose.Schema({
  
      id: {
          type: String
      },
      question: {
          type: String
      },
      firstOption: {
          type: String
      },
      secondOption: {
          type: String
      },
      thirdOption: {
          type: String
      },
      fourthOption: {
          type: String
      },
      answer: {
          type: String
      }
  });
  
  module.exports = mongoose.model('Quiz', quizSchema);
  </code></pre>
  
  <p>Quiz controller</p>
  
  <pre><code>const models = require('../models');
  
  module.exports = {
  
      get: {
          many: (req, res, next) =&gt; {
              models.quiz.find()   
              .then((quiz) =&gt; (res.send(quiz)))
              .catch(next);       
          }
      }
  }
  </code></pre>
  
  <p>and routes in the quiz</p>
  
  <pre><code>const controllers = require('../controllers/');
  
  const router = require('express').Router();
  
  router.get('', controllers.quiz.get.many);
  
  module.exports = router;
  </code></pre>