Requirements:
If you're on OSX you're probably best off using Homebrew to install this stuff:
$ brew install node mongodb
Usage:
$ npm install express mongoq
$ node backend.js
I've also attached a sample frontend code for using the backend via Backbone
I highly recommend the Postman Chrome extension for experimenting with REST APIs in which case you can import the attached collection export.
Pretty much was looking for something like this all day, so thank you so much!
Would you have any insight on the best way to go about compiling the backbone app in an express project? Here you dont have to worry about it because it's a sing page app, but I'm really struggling to find the best way to go about that. I have seen Trevor Burnham's snockets / rails 3.1 asset clone, and using Alex Maccaw's Hem in conjuction with express, but it's not well documented. Or maybe you just use require.js (which I don't really like) in the public/js folder and build later. I have always just used ruby's middleman for developing backbone apps, but now I'm using express at work to build api's.
Anyways, it has my head spinning, any insight on the normal, easiest way would be awesome.
Again, thank you for this!