node index.js <n1> <n2> <op>
node index.js --num1=<n1> --num2=<n2> --operation=<op>
- Start server
node server.js
- List supported methods:
- Invoke any method:
- POST http://localhost:3000/calculator/actions/[add|subtract|multiply|divide|pow] { num1: , num2: }
tdd-examples
mocha ./test/tdd-examples --ui tdd
bdd-examples
mocha ./test/bdd-examples
mocha-examples
mocha ./test/mocha-examples
http-examples
node server.js
mocha ./test/http-examples