OS X 10.11.6
NodeJS 6.11.4
npm 3.10.10
NOTE: If you have NVM - run nvm use
to set correct NodeJS version.
npm install
to download dependencies.npm run prepare
to run any build scripts.npm -- --host <host> --port <port>
to run server or...npm start
will default tolocalhost:3000
.
npm test
will run tests using Mocha and Chai.
- 200 – ok: request was successful
- 201 - created: a new resource was successfully created
- 204 - server successfully processed request, but is not returning any content
- 400 - bad request: the request was malformed or invalid
- 404 - not found: request resource could not be found
- 409 - request could not be completed due to a conflict with the current state of the target resource
- 500 - internal server error: unknown server error has occurred