I'm in a team project, and my team is slacking, so I'm going to take the lead and start off the repository. We are all new to node.js and come from other backgrounds.
There is only 1 "server," right?
So the main file (unsure of what's a standard name to call it is), would hold this code:
var server = http.createServer(
function( request, response ){
Then all team members would write their own JS files for their respective parts, and we'd use something like this to use them in the server file?
<script src="1.js"></script>
<script src="2.js"></script>
For some reason it just seems weird to me that a majority of the code will be in a single "server" file.