Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:api [2019/03/25 20:02]
marlon created
wiki:api [2019/03/25 20:27] (current)
marlon
Line 1: Line 1:
 ====== Loopback ====== ====== Loopback ======
-LoopBack is a highly-extensible,​ open-source Node.js framework+[[https://​loopback.io|LoopBack]] is a highly-extensible,​ open-source Node.js framework
 === Installation === === Installation ===
    $ npm install -g loopback-cli    $ npm install -g loopback-cli
Line 12: Line 12:
 **Explore REST API** **Explore REST API**
    ​http://​0.0.0.0:​3000/​explorer    ​http://​0.0.0.0:​3000/​explorer
- +====== Postman ====== 
 +[[https://​www.getpostman.com|Postman]] tool for testing RESTful APIs. 
 + 
 +[[https://​www.getpostman.com/​downloads/​|Download]] and install the app. 
 + 
 +=== Integration with CI === 
 +**Install Newman** 
 +   $ npm i newman -g 
 +**Run** 
 +   $ newman run https://​api.getpostman.com/​collections/​{{collection_uid}}?​apikey={{postman-api-key-here}} 
 + to provide //​environment//​ to collection:​ 
 +   $ newman run https://​api.getpostman.com/​collections/​{{collection_uid}}?​apikey={{postman-api-key-here}} --environment https://​api.getpostman.com/​environments/​{{environment_uid}}?​apikey={{postman-api-key-here}}
  
  • wiki/api.txt
  • Last modified: 2019/03/25 20:27
  • by marlon