Followed this tutorial in creating the REST API: http://webapplog.com/express-js-4-node-js-and-mongodb-rest-api-tutorial/
cd /usr/local/mongodb ./mongo
use exampleDb show collections db.logs_temp.drop()
More information here: http://alvinalexander.com/source-code/scala/mongodb-drop-collection-examples-using-mongo
used the 'cors' package. More info here: https://www.npmjs.org/package/cors