Need help with rest-api-express?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

azat-co
201 Stars 98 Forks 32 Commits 0 Opened issues

Description

REST API built with Express.js, Mongoskin and Mocha

Services available

!
?

Need anything else?

Contributors list

# 4,699
HTML
aws-ec2
express...
express...
7 commits
# 410,484
JavaScr...
4 commits
# 68,445
Gulp
pattern...
PHP
atomic-...
3 commits
# 576,930
JavaScr...
1 commit
# 574,019
JavaScr...
1 commit
# 272,410
HTML
TypeScr...
1 commit

Node.js REST API Example with MongoDB, Mongoskin, Express 3 and 4

Express.js 4.x

master
branch

Full tutorial: http://webapplog.com/express-js-4-node-js-and-mongodb-rest-api-tutorial/

Brief instructions:

$ git clone https://github.com/azat-co/rest-api-express.git
$ cd rest-api-express
$ 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

You can use

package.json
commands:
$ npm start
$ npm test

Express.js 3.x

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 https://github.com/azat-co/rest-api-express.git
$ cd rest-api-express
$ 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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.