GithubHelp home page GithubHelp logo

joserfjuniorllms / rest-api-express Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azat-co/rest-api-express

0.0 1.0 0.0 272 KB

REST API built with Express.js, Mongoskin and Mocha

JavaScript 100.00%

rest-api-express's Introduction

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

rest-api-express's People

Contributors

azat-co avatar benhalverson avatar davidboto avatar helderroem avatar philcorcoran avatar rudyschockaert avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.