Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/aniket-engg/hyperledger-medical-network

This is a Hyperledger Composer based sample project which is developed considering a medical use case.
https://github.com/aniket-engg/hyperledger-medical-network

hyperledger hyperledger-composer hyperledger-fabric

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Hyperledger-Medical-Network
This is a [Hyperledger Composer](https://hyperledger.github.io/composer/latest/) 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](https://nodejs.org/en/download/) and [MongoDB](https://www.mongodb.com/) installed on your machine.

After that follow [this](https://hyperledger.github.io/composer/latest/installing/development-tools.html) 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](http://localhost:5000)

## Debugging
```
Use "/logs/serverLogs.log" to debug
```
## Issues
```
Report your issues at https://github.com/Aniket-Engg/Hyperledger-Medical-Network/issues
```