/mock-server

A simple mock server with dynamic routes.

Primary LanguageJavaScript

Mock Server

A simple mock server that responds to dynamic routes with templated responses.

Demo

http://mockserver.victorkohl.me/

Requirements

  • Node.js (> 0.10)
  • MongoDB (2.6+)
  • Bower

Running the project

  1. Clone the project
  2. Run npm install
  3. Run bower install
  4. Start the server in production mode NODE_ENV=production node server.js

Running the project in development mode

  1. Repeat steps 1-3 above
  2. Run grunt dev

Building the project

  1. Clone the project
  2. Run grunt build

Running the tests

Just run:

$ npm test

License

MIT