Node.js REST API Example with MongoDB, Mongoskin, Express 3 and 4
master
branch
Full tutorial: http://webapplog.com/express-js-4-node-js-and-mongodb-rest-api-tutorial/
Brief instructions:
$ git clone git@github.com:azat-co/rest-api-express.git
$ npm install
$ node express.js
In a new terminal window:
$ mocha express.test.js
Or, if you don't have mocha installed globally:
$ ./node_modules/mocha/bin/mocha express.test.js
express3
branch
Full tutorial: http://webapplog.com/tutorial-node-js-and-mongodb-json-rest-api-server-with-mongoskin-and-express-js/
Brief instructions:
$ git clone git@github.com:azat-co/rest-api-express.git
$ git checkout express3
$ npm install
$ node express.js
in a new window
$ mocha express.test.js
or (if you don't have mocha installed globally):
$ ./node_modules/mocha/bin/mocha express.test.js