Skip to content

Minimalistic and Reusable REST API Design pattern for Hyperledger fabric Applications

License

Notifications You must be signed in to change notification settings

Salmandabbakuti/reinvent_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published