title: Where do I store uploaded images or files in a mern stack app
body: <p>I'm working on a project. I'm using node and express for the rest api and next js for the front-end.</p>
  <p>I have form where users can add new products.</p>
  <p>Where should I store the uploaded images?</p>
  <p>Should I create a folder <code>uploads</code> in the website folder root or upload images in <code>client/public/assets/img/</code>?</p>
  <p>If I create a folder uploads in root how should I access those images in the front-end?</p>
  <p>I know how to upload images or files. I just want to know what is best location to store them</p>
  <p>This my project structure</p>
  <pre><code>Website
  --------
    client
    -------
      components
      pages
      public
      styles
      ...
    server
    ------
      config
      controllers
      middlewares
      models
      routes
      utils
      server.js
  </code></pre>