An open API service indexing awesome lists of open source software.

https://github.com/salmandabbakuti/reinvent_api

Minimalistic and Reusable REST API Design pattern for Hyperledger fabric Applications
https://github.com/salmandabbakuti/reinvent_api

api blockchain chaincode chaincode-sdk-nodejs hyperledger-fabric hyperledger-fabric-sdk nodejs reinvent-api rest-api

Last synced: 5 months ago
JSON representation

Minimalistic and Reusable REST API Design pattern for Hyperledger fabric Applications

Awesome Lists containing this project

README

          

# 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

##### :wave: [Salman Dabbakuti](https://salmandabbakuti.github.io)

Buy Me A Coffee