Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.26 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.26 KB

reinvent-API

Minimalistic and Reusable REST API Design pattern for Hyperledger fabric Applications

Big Picture

REST API Design pattern for Hyperledger fabric. API code is reusable and fixed irrespective of Application size. Chaincode function can be passed as argument to API. So, no need to create separate routes for chaincode functions.

Things to Consider Modification:

  1. Connection Profile Name and location
  2. Channel name
  3. Chaincode Name

Query or body parameters should be passed as the order defined in chaincode function. First argument must be function name to call..

Swagger Demo:

Author

Buy Me A Coffee