Bigger projects Node.js and RESTful API
<p>I'm looking into node.js which really seem like a pretty nice environment. I've worked with a lot of different Technologies and for server, mainly php and Java (jsp), but dabbled in som RoR and Python.</p>

<p>I find node.js really easy to get up and running and it feels quite natural to work with, and I found some good entry level tutorials. </p>

<p>I just am missing some more intermediate resources. For example when creating bigger frameworks or api's how would you structure or architect it. I set up some smaller api's to try it out where it would go something like this:</p>

<p>I've made use of the <em>Express framework</em> to create a http server, listen to a port,  set up an express object and bound some requests.</p>

<p>However these have been quite small, and the purpose has been learning, if I think about scaling up the size of the API for production, perhaps wanting to do other stuff like serve web-pages as well. I find it hard to see how the architecture would look.</p>

<p>It's vague as I am still new to node.js but I'm mainly thinking about things like if you typically keep all api in one file or if there are good ways to split it up into modules? And if anyone know any resource talking a bit more about how to design the architecture when working in node.js</p>

<p>Sorry for the vague question and thanks for reading. </p>