Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 618 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 618 Bytes

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).