Run following command to install the dependencies
npm i json-server -g
To run the server run following command
npm start
Install postman in your chrome browser & import the
ReadyAPI-Playground.postman_collection.json
file. This file contains the basic user creation & fetching request. This is just for test perpose. Might not be needed for every one.
Install Ready API from here. After installation run the program & import the ReadyAPI-Playground-readyapi-project.xml
.
This demo project contains a single test suite with 2 test cases for users
Resource. The test cases include creating & fetching users with 3 assertions such as JSON property checking & HTTP Status Status Code verification.