REST API built with Express.js, Mongoskin and Mocha
REST API built with Express.js, Mongoskin and Mocha
Node.js REST API Example with MongoDB, Mongoskin, Express 3 and 4
master branch
Full tutorial:
Brief instructions:
$ git clone https://github.com/azat-co/rest-api-express.git
$ cd rest-api-express
$ npm install
$ node express.jsIn a new terminal window:
$ mocha express.test.jsOr, if you don't have mocha installed globally:
$ ./node_modules/mocha/bin/mocha express.test.jsYou can use package.json commands:
$ npm start
$ npm testexpress3 branch
Full tutorial:
Brief instructions:
$ git clone https://github.com/azat-co/rest-api-express.git
$ cd rest-api-express
$ git checkout express3
$ npm install
$ node express.jsin a new window
$ mocha express.test.jsor (if you don't have mocha installed globally):
$ ./node_modules/mocha/bin/mocha express.test.jsNo open issues yet, or sync has not completed.