title: Node.js simple app doesn't get second get request
body: <p>I try to run very basic script as following:</p>
  
  <pre><code>import express from "express";
  
  const PORT = 3000;
  const app = express();
  
  app.set("json spaces", 4);
  
  app.get("/", (req, res) =&gt; res.json({status: "NTask API"}));
  
  app.get("/tasks", (req, res) =&gt; {
    res.json({
      tasks: [
        {title: "Buy some shoes"},
        {title: "Fix notebook"}
      ]
    });
  });
  app.listen(PORT, () =&gt; console.log(`NTask API - Port ${PORT}`));
  </code></pre>
  
  <p>the results are: </p>
  
  <blockquote>
    <p>{
        "status": "NTask API" }</p>
  </blockquote>
  
  <p>My question is, why the tasks is not there? 
  Thanks</p>