A naive simplified implementation of using blockchain as a static register in a food origin scenario allowing manufactures, distributers and retailers to publish product information and view the data.
This project was developed as a Proof of concept for a paper entitled "Blockchain and the transformation of Marketing". The general premise behind the paper was around how companies can utilize digital ledgers on blockchain for product tracability and reduce the risks or impact of food fraud or food safety incidents.
The application has 3 main components.
Note: Blockchain data is not persisted, when all 3 of the server components are stopped, data is cleared.

Download/clone this repo
npm install in the root directory to install dependenciesI would suggest opening at least 3 terminal/command windows:
npm run start:manufacturing in one windownpm run start:distribution in another windownpm run start:retail in another windowThis will run 3 different nodes simulating the peer-to-peer network
Open your browser to http://localhost:3001 once the server is running to view the Admin panel where you create transactions directly on each of the nodes.
The blockchain component of this project is largely based on Naivechain from Ihartikk. I took the implementation and refactored and rewrote the codebase in ES5 which matches the frontend and other components.
Node.js
If you would like to contribute to the development of this project, please feel free to create a issue, fork the repo and subsequently make a pull request. Creating a issue will enable others to see what you are working on and avoid work duplication.
Content type
Image
Digest
Size
73.3 MB
Last updated
almost 7 years ago
docker pull paschmann/blockchain_origin