start master node (and 2 internal db nodes for testing/devel)
node server.js
start separate db node (not currently needed):
node dbnode.js 3001 databases/node1.db
node dbnode.js 3002 databases/node2.db
/db-node
- all files for the database node/master-node
- all files for the master node/master-node/lib
- the meat and potatoes. all the logic is here./master-node/webclient
- all files handed to a web browser (after processing). html, css, images, etc./master-node/routes
- maps urls to functions/master-node/startup.coffee
- starts up the master node, starts a web server, call other moduels to start
server.js
- entry point for the master node, just callsmaster-node/startup.coffee
Dependencies
- [async] (https://npmjs.org/package/async): Helps get out of callback-nesting hell
- underscore: functional programming utilities for java arrays, objects, etc