Simple Command Line consuming Public Api Using node-rest-client and readline module

The Project uses the READLINE MODULE FOR COMMAND-LINE TO TRIGGER HTTP API VERBS such as GET, PUT, PATCH, POST, DELETE

PUBLIC API FROM JSONPlaceholder.COM URL: http://jsonplaceholder.typicode.com/

NODE-REST-CLIENT MODULE serve as the routing for these Api

HOW TO RUN THE APP

  1. run a node app.js on the CLI in the root directory

  2. ANDELA> PROMPT APPEARS

  3. ADD ANY ONE OF VERBS TO THE PROMPT

    EG. ANDELA> POST // it will run the POST API

  4. IF YOU WANT TO GET OUT OF THE PROMPT

    USE CTRL C --- to quit the prompt