Backend service for e-budgeting with blockchain network using Nest JS and Hyperledger Fabric.
- api
RESTful API using NestJS. - chaincode
Fabric chaincode location. - network
Blockchain network configuration. - explorer
Hyperledger explorer configuration.
$ cd api
$ npm install
$ cd network
# up
$ ./startFabric.sh
# down
$ ./networkDown.sh
$ cd api
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
$ cd api
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
http://localhost:8080
username: exploreradmin
password: exploreradminpw