Example of a Node.js server exposing a simple REST API and tests for that API using Postman
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6f8747a Feb 26, 2017

README.md

nodejs-postman

Example of a Node.js server exposing a simple REST API and tests for that API using Postman

Overview

To run it, first of all install all dependencies by running this from the command line: npm install

The server will be started with: PORT=8080 npm start You can replace 8080 with a different value to run the server in a different port.

Tests

To run the tests you need to start the server in the port 8080. Then, in a separate terminal, tests can be run with: npm test

Authors

License

See license (MIT License).