title: error: relation "equalityfits" does not exist
body: <p>I am following a tutorial on how to set up the PERN stack except i am using yarn. I currently have it where when i run yarn start on my front end it also boots up the express server and i also have a database.js that contains</p>
  <pre><code>    user: &quot;admin&quot;,
      password: &quot;MYPW&quot;,
      host: &quot;localhost&quot;,
      port: 5432,
      database: &quot;equalityfits&quot;
  </code></pre>
  <p>I have a user named admin that is the owner of a database called equalityfits(no upper case), but when i send a post request to connect and insert something into the database it just says that the relation &quot;equalityfits&quot; does not exist. Here is a picture of the current databases.
  <a href="https://i.stack.imgur.com/fwhpK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fwhpK.png" alt="enter image description here" /></a></p>
  <p>Here is the server.js with the endpoint:</p>
  <pre><code>const express = require(&quot;express&quot;);
  const app = express();
  const PORT = 5000;
  const cors = require(&quot;cors&quot;);
  const pool = require(&quot;./db&quot;)
  
  //
  //Middleware
  //
  app.use(cors());
  app.use(express.json());
  
  
  //
  //Routes
  //
  
  //Add to cart
  app.post(&quot;/addCart&quot;, async(req,res) =&gt;{
      try {
          const { description } = req.body;
          const newName =pool.query(&quot;INSERT INTO equalityfits (name) VALUES(TEST)&quot;, [description]);
          res.json(newName);
  
      } catch(err){
          console.error(err);
      }
  });
  
  app.listen(PORT, () =&gt;{
      console.log(&quot;Express Server has started on port&quot;, {PORT});
  });
  </code></pre>
  <p>What am i doing wrong here?</p>