Skip to content

This is the backend service of my undergraduate student's final task. { Currently on development process }.

Notifications You must be signed in to change notification settings

atjhoendz/backend-chaincode-ebudgeting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend Chaincode E-Budgeting

Description

Backend service for e-budgeting with blockchain network using Nest JS and Hyperledger Fabric.

Directory Structure

  • api
    RESTful API using NestJS.
  • chaincode
    Fabric chaincode location.
  • network
    Blockchain network configuration.
  • explorer
    Hyperledger explorer configuration.

API Development

Installation

$ cd api

$ npm install

Setup network

$ cd network

# up
$ ./startFabric.sh

# down
$ ./networkDown.sh

Running the app

$ cd api

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

$ cd api

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

API Docs URL

http://localhost:3000/docs

Hyperledger Explorer URL

http://localhost:8080
username: exploreradmin
password: exploreradminpw

About

This is the backend service of my undergraduate student's final task. { Currently on development process }.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published