title: javascript Share code between my client and my server folders
body: <p>I have a directory that contains two folder : my server app (<code>NodeJS</code>) and my client app (<code>ReactJS</code>).</p>
  
  <p>My directory structure looks like this :</p>
  
  <pre><code>root/
  |- client/
     |- package.json
     |- src/
        |- ...
  |- server/
     |- package.json
     |- src/
        |- ...
  </code></pre>
  
  <p>How can I add a <code>common</code> folder at the root of my directory to share enums and utils with both my server and my client ?</p>
  
  <p>Thanks!</p>