title: Hapi.js application architecture
body: <p>I've been working on a hapi.js application and have the following architecture:</p>
  
  <pre><code>Database
    --Models
      --usermodel.js
      --anothermodel.js
  Routes
    --private
      --controllers
        --ctrl1.js
        --ctrl2.js
      --validators
        --validatr1.js
        --validtr2.js
    --public
      --controllers
        --ctrl1.js
        --ctrl2.js
  test
    --dbtest.js
    --functiontest.js
  server.js
  </code></pre>
  
  <p>We adopted this structure when working with <code>express</code>, but I'm starting with a new application and was wondering if there are resources where I can find a better application structure? I've looked into the offical website for hapi and other resources but couldn't find anything interesting.</p>
  
  <p>Any help appreciated. Thanks.</p>