title: How to make express serve static files from another upper directory?
body: <p>If I have an nodejs express application with folowing folder structure:</p>
  
  <p><code>-src
    - client
      - public
        - css
        - js
        - ...
      - views
   - server
    - server.js</code></p>
  
  <ul>
  <li>How can I serve the static files in the public folder from the server.js file, since it is located <code>above</code> the index.js root location?</li>
  <li>How should the:</li>
  </ul>
  
  <p><code>app.use(express.static();</code></p>
  
  <p>look like?</p>
  
  <p>----UPDATE---</p>
  
  <p>SOLVED this by using:
  app.use(express.static(path.join(__dirname, '/../client/public')));</p>