This project contains a proof of concept implementation for an inventory tracking system for a ficticious organization: widgets.org. Hyperledger Fabric provides the underlying blockchain implementation. Additionally, this project provides the following capabilities:
- Fetch inventory from Blockchain
- Fetch an inventory item (and history) from Blockchain
- Insert a new inventory item
- Transfer an inventory item between facilities (e.g. IADFactory => Warehouse)
- Mark an inventory item as unavailable (e.g. installed)
- chaincode
- contains the blockchain code that will be deployed to the network
- network
- contains the scripts and template files to manage the network
- service
- contains the web api
- ui
- contains the web ui
To build and deploy this project, you should be running on a *NIX-compatible machine with at least the following software installed:
To bring the blockchain network online, run the following command:
$ make netup
To serve the Web API/UI, run the following command:
$ make run
The inventory data was imported from Datasn.io with randomized quantities and bogus serial numbers.