Hyperledger-Medical-Network

This is a Hyperledger Composer based sample project which is developed considering a medical use case.

MIT License

Stars
10

Hyperledger-Medical-Network

This is a Hyperledger Composer based sample project which is developed considering a medical use case.

Getting Started

These instructions will get you the project up and running for development and testing purposes.

Make sure you have Node.js and MongoDB installed on your machine.

After that follow this guide to setup the environment.

Build and Install

To run the server, first deploy the business network, make sure fabric is running:

cd "network file"
$ composer runtime install --card PeerAdmin@hlfv1 --businessNetworkName my-network
$ composer network start --card PeerAdmin@hlfv1 --networkAdmin admin --networkAdminEnrollSecret adminpw --archiveFile [email protected] --file networkadmin.card
$ composer card import --file networkadmin.card

Now, to run the project

$ git clone https://github.com/Aniket-Engg/Hyperledger-Medical-Network
$ cd Hyperledger-Medical-Network
$ npm install
$ npm start

Server will be running at http://localhost:5000

Debugging

Use "/logs/serverLogs.log" to debug

Issues

Report your issues at https://github.com/Aniket-Engg/Hyperledger-Medical-Network/issues