title: Which web application modular structure is better?
body: <pre><code>backend/
       module1
       module2
       module3
  
  frontend/
       module1
       module2
       module3
  </code></pre>
  
  <p>or </p>
  
  <pre><code>modules/
         module1/
                frontend               
                backend
         module2/
                frontend               
                backend
         module3/
                frontend               
                backend
  </code></pre>