title: Require all files in the list of folder without adding them individually in JS
body: <p>I dont know much about node.Is there anything I can do to iterate the objects without having to require it everytime </p>
  
  <pre><code>folderOrder = ['routes', 'models','fixtures', 'views', 'controllers']
  
  require 'routes/posts_route'
  require 'routes/post_route'
  require 'models/post'
  </code></pre>
  
  <p>Is there anyway all the new files I create in folders routes and models will be automatically required without having to require each one of them. My case for this example is <a href="https://github.com/abhayathapa/ember-blogger/blob/master/app/initialize.coffee" rel="nofollow noreferrer">https://github.com/abhayathapa/ember-blogger/blob/master/app/initialize.coffee</a> </p>
  
  <p>Any help will be greatly appreciated. I have tried the answers in <a href="https://stackoverflow.com/questions/5364928/node-js-require-all-files-in-a-folder">node.js require all files in a folder?</a> but I get the same --- Cannot find module "fs"</p>