/node-api

Primary LanguageJavaScript

Building a RESTful API in Node and Express

Using the new Express 4.0 Router to build an API

Requirements

  • Node and npm

Installation

  • Clone the repo: git clone git@github.com:oresh/node-api.git
  • Install dependencies: npm install
  • Start the server: npm start

Testing the API

Run npm test to run tests. You'll need dev dependencies installed.

You can also test API methods with Postman