PLOSDB reworked with mongodb and node

PLOSDB reworked with mongodb and node

It's been super easy integrating node with mongodb to create a PLOSDB server. Since all of the assets are static with PLOSDB, a document store made sense. I'm still looking for a more reactive server to use for super agile data sets like player locations and stuff, but that can be set aside for now while I work on Clay. Here was the basic code for setting up the server as well as one of the routes.

var instance = require('./instance.js'),  
    db = instance.db,
    app = instance.app;

/**
 * Initialize the database connection
 */
db.open(function(err, db) {  
  if(!err)

Read More