Supply Chain Management using Ethereum-Blockchain
Functionalities
- The producer can register him as a producer
- After registration he can add products, the attributes of a product are
- Product ID
- Product name
- Price
- Quantity
- The producer should be able to change the price if he wants.
- Customer can view the products
- Customer can order the products (no need of sending money, only COD)
- Customer can track the product using the order ID
- The status of the order are
- Placed
- Rejected
- Delivered
- The producer has the authority to change the status of the product (when the customer places an order, the status will be “Placed”).
Want to run on your machine?
Install metamask wallet
Install metamask wallet using this Link. Just collect some ether and you are good to go.
Setup a local server
Install node.js and npm then http-server
$ sudo apt install nodejs npm
$ sudo npm install http-server -g
Run
Clone the repository and start http-server.
$ git clone https://github.com/suvambasak/supply-chain-ethereum.git
$ cd supply-chain-ethereum/
$ http-server
Goto : http://localhost:8080/
Screenshots
Register as a producer
Adding products
Change price of any product
View the products
Order products
Customer can track the product by order ID
View of orders
Status change