Skip to content

This nodejs application using fabric node sdk provides some REST API endpoints as a gateway of fabric-payment-sample-chaincode.

License

Notifications You must be signed in to change notification settings

nmatsui/fabric-payment-sample-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fabric-payment-sample-api

Description

This nodejs application using fabric node sdk provides some REST API endpoints as a gateway of fabric-payment-sample-chaincode.

See also

fabric-payment-sample-chaincode
fabric-payment-sample-docker

Requirement

version
nodejs 8.9
express 4
fabric-ca-client 1.0.2
fabric-client 1.0.2

How to build

create api bearer token

$ ./generate_token.sh

build docker image

$ docker build -t fabric-payment/api .

run Hyperledger/fabric network

see fabric-payment-sample-docker

Contribution

  1. Fork this project ( https://github.com/nmatsui/fabric-payment-sample-api )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Apache License, Version 2.0

Copyright

Copyright (c) 2018 Nobuyuki Matsui [email protected]

About

This nodejs application using fabric node sdk provides some REST API endpoints as a gateway of fabric-payment-sample-chaincode.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published